Skip to content

Commit

Permalink
Some more GH actions maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanstraten committed Nov 15, 2022
1 parent d1bb999 commit b25605a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
- name: Wheel path
id: wheel
working-directory: pybuild/dist/
run: echo "##[set-output name=wheel;]$(ls *.whl)"
#run: echo "##[set-output name=wheel;]$(ls *.whl)"
run: echo "wheel=$(ls *.whl)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v2
with:
name: pypi-macos-py${{ matrix.python }}
Expand Down Expand Up @@ -86,7 +87,8 @@ jobs:
- name: Wheel path
id: wheel
working-directory: wheelhouse
run: echo "##[set-output name=wheel;]$(ls *.whl)"
#run: echo "##[set-output name=wheel;]$(ls *.whl)"
run: echo "wheel=$(ls *.whl)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v2
with:
name: pypi-linux-${{ matrix.cpython_version }}
Expand Down Expand Up @@ -118,7 +120,7 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
key: ${{ runner.os }}-chocolatey-python-1
Expand All @@ -135,7 +137,8 @@ jobs:
- name: Wheel path
id: wheel
working-directory: pybuild/dist/
run: echo "##[set-output name=wheel;]$(Get-ChildItem -name *.whl)"
#run: echo "##[set-output name=wheel;]$(Get-ChildItem -name *.whl)"
run: echo "wheel=$(Get-ChildItem -name *.whl)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v2
with:
name: pypi-windows-py${{ matrix.python }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y swig
- uses: actions/cache@v2
- uses: actions/cache@v3
if: matrix.os == 'windows-latest'
with:
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
Expand Down

0 comments on commit b25605a

Please sign in to comment.