Skip to content

Commit a6fba27

Browse files
Use actions/upload-artifact@v4 in GHA workflow (#40)
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.
1 parent 355d780 commit a6fba27

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: .github/workflows/plugin.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ jobs:
1717
run: ./pleasew test -i e2e --profile ${{ matrix.compiler }} --log_file plz-out/log/e2e.log
1818
- name: Archive logs
1919
if: always()
20-
uses: actions/upload-artifact@v2
20+
uses: actions/upload-artifact@v4
2121
with:
22-
name: logs
23-
path: |
24-
plz-out/log
22+
name: logs-${{ matrix.os }}-${{ matrix.compiler }}
23+
path: plz-out/log
2524
strategy:
2625
fail-fast: false
2726
matrix:

0 commit comments

Comments
 (0)