why can't the second job see the artifacts from the first?

master
Beq 2024-10-03 23:05:21 +01:00
parent 08ba77873e
commit ab31e68b6c
1 changed files with 9 additions and 2 deletions

View File

@ -77,8 +77,15 @@ jobs:
actions: read
contents: read
steps:
- name: List Available Artifacts
run: |
echo "Available artifacts:"
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts
- name: Download Setup.exe Files Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: setup-exe-files
path: setup_exe_files
@ -88,7 +95,7 @@ jobs:
cp "setup_exe_files/${{ matrix.file }}" to_sign/
- name: Upload unsigned artifact
id: upload-unsigned-artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: unsigned-artifact-${{ matrix.file }}
path: to_sign/