Update upload-artifact & download-artifact actions to v4 (#3202)

- upload-artifact@v1 --> v4
- download-artifact@v1 --> v4
This commit is contained in:
shinra-electric 2024-05-14 17:50:24 +02:00 committed by GitHub
parent 8e3284d8c6
commit cea061f73f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,7 +87,7 @@ jobs:
"C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-x64-release-symbols.zip ./bin/x64/*.pdb "C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-x64-release-symbols.zip ./bin/x64/*.pdb
- name: Upload x64 release symbols artifact - name: Upload x64 release symbols artifact
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v4
with: with:
name: "windows" name: "windows"
path: "duckstation-windows-x64-release-symbols.zip" path: "duckstation-windows-x64-release-symbols.zip"
@ -104,7 +104,7 @@ jobs:
"C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-x64-release.zip ./bin/x64/* "C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-x64-release.zip ./bin/x64/*
- name: Upload x64 release artifact - name: Upload x64 release artifact
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v4
with: with:
name: "windows" name: "windows"
path: "duckstation-windows-x64-release.zip" path: "duckstation-windows-x64-release.zip"
@ -178,7 +178,7 @@ jobs:
"C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-arm64-release-symbols.zip ./bin/ARM64/*.pdb "C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-arm64-release-symbols.zip ./bin/ARM64/*.pdb
- name: Upload arm64 release symbols artifact - name: Upload arm64 release symbols artifact
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v4
with: with:
name: "windows-arm64" name: "windows-arm64"
path: "duckstation-windows-arm64-release-symbols.zip" path: "duckstation-windows-arm64-release-symbols.zip"
@ -195,7 +195,7 @@ jobs:
"C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-arm64-release.zip ./bin/ARM64/* "C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-arm64-release.zip ./bin/ARM64/*
- name: Upload arm64 release artifact - name: Upload arm64 release artifact
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v4
with: with:
name: "windows-arm64" name: "windows-arm64"
path: "duckstation-windows-arm64-release.zip" path: "duckstation-windows-arm64-release.zip"
@ -272,7 +272,7 @@ jobs:
scripts/appimage/make-appimage.sh $(realpath .) $(realpath ./build) $HOME/deps DuckStation-x64 scripts/appimage/make-appimage.sh $(realpath .) $(realpath ./build) $HOME/deps DuckStation-x64
- name: Upload Qt AppImage - name: Upload Qt AppImage
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v4
with: with:
name: "linux-x64-appimage-qt" name: "linux-x64-appimage-qt"
path: "DuckStation-x64.AppImage" path: "DuckStation-x64.AppImage"
@ -335,7 +335,7 @@ jobs:
flatpak-builder-lint repo repo flatpak-builder-lint repo repo
- name: Upload Flatpak - name: Upload Flatpak
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v4
with: with:
name: "linux-flatpak" name: "linux-flatpak"
path: "duckstation-x64.flatpak" path: "duckstation-x64.flatpak"
@ -394,7 +394,7 @@ jobs:
zip -r duckstation-mac-release.zip DuckStation.app/ zip -r duckstation-mac-release.zip DuckStation.app/
- name: Upload macOS .app - name: Upload macOS .app
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v4
with: with:
name: "macos" name: "macos"
path: "build/duckstation-mac-release.zip" path: "build/duckstation-mac-release.zip"
@ -406,27 +406,27 @@ jobs:
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
steps: steps:
- name: Download Windows Artifacts - name: Download Windows Artifacts
uses: actions/download-artifact@v1 uses: actions/download-artifact@v4
with: with:
name: "windows" name: "windows"
- name: Download Windows ARM64 Artifact - name: Download Windows ARM64 Artifact
uses: actions/download-artifact@v1 uses: actions/download-artifact@v4
with: with:
name: "windows-arm64" name: "windows-arm64"
- name: Download Qt AppImage Artifact - name: Download Qt AppImage Artifact
uses: actions/download-artifact@v1 uses: actions/download-artifact@v4
with: with:
name: "linux-x64-appimage-qt" name: "linux-x64-appimage-qt"
- name: Download Flatpak Artifact - name: Download Flatpak Artifact
uses: actions/download-artifact@v1 uses: actions/download-artifact@v4
with: with:
name: "linux-flatpak" name: "linux-flatpak"
- name: Download MacOS Artifact - name: Download MacOS Artifact
uses: actions/download-artifact@v1 uses: actions/download-artifact@v4
with: with:
name: "macos" name: "macos"