Skip to content

Commit

Permalink
Fix redundant workflow matrixces. (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartfeenstra authored Dec 21, 2023
1 parent 0d0e8c2 commit 5f611b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-build-pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ env.pip_cache_dir }}
key: pip-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('./setup.py') }}
key: pip-${{ runner.os }}-${{ hashFiles('./setup.py') }}
restore-keys: |
pip-${{ runner.os }}-${{ matrix.python }}-
pip-${{ runner.os }}-
- name: Get the npm cache directory
run: echo "npm_cache_dir=$(npm config get cache)" >> $GITHUB_ENV
Expand Down
15 changes: 3 additions & 12 deletions .github/workflows/release-build-setuptools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,7 @@ on:

jobs:
setuptools:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- name: Mac OS
os: macos-latest
dist_file_name: betty.app
- name: Windows
os: windows-latest
dist_file_name: betty.exe
runs-on: ubuntu-latest
steps:
- name: Check out the source code
uses: actions/checkout@v3
Expand All @@ -29,9 +20,9 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ env.pip_cache_dir }}
key: pip-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('./setup.py') }}
key: pip-${{ runner.os }}-${{ hashFiles('./setup.py') }}
restore-keys: |
pip-${{ runner.os }}-${{ matrix.python }}-
pip-${{ runner.os }}-
- name: Get the npm cache directory
run: echo "npm_cache_dir=$(npm config get cache)" >> $GITHUB_ENV
Expand Down

0 comments on commit 5f611b5

Please sign in to comment.