Skip to content

Commit

Permalink
Use actions/upload-artifact@v4 in GHA workflow (#4)
Browse files Browse the repository at this point in the history
actions/upload-artifact@v2 is deprecated and workflows aren't able to
use it any more. v4 requires uploaded artifacts to have unique names, so
ensure each job in the matrix uploads an artifact with a different name.
  • Loading branch information
chrisnovakovic authored Oct 25, 2024
1 parent b85c362 commit d91860d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ jobs:
run: ./pleasew test --log_file plz-out/log/test.log
- name: Archive logs
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: logs
path: |
plz-out/log
name: logs-${{ matrix.python-version }}
path: plz-out/log
release:
needs: [test]
runs-on: ubuntu-latest
Expand Down

0 comments on commit d91860d

Please sign in to comment.