CI: Only pin to major version of actions

This commit is contained in:
Stenzek 2025-01-13 22:50:39 +10:00
parent 991405ce06
commit 5aa23fa6dc
No known key found for this signature in database
7 changed files with 25 additions and 25 deletions

View File

@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
- uses: actions/checkout@v4.1.1 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0

View File

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
- uses: actions/checkout@v4.1.6 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
@ -19,7 +19,7 @@ jobs:
- name: Cache Dependencies - name: Cache Dependencies
id: cache-deps id: cache-deps
uses: actions/cache@v4.0.2 uses: actions/cache@v4
with: with:
path: ~/deps path: ~/deps
key: deps ${{ hashFiles('scripts/deps/build-dependencies-linux.sh', 'scripts/deps/build-ffmpeg-linux.sh') }} key: deps ${{ hashFiles('scripts/deps/build-dependencies-linux.sh', 'scripts/deps/build-ffmpeg-linux.sh') }}
@ -70,7 +70,7 @@ jobs:
scripts/packaging/appimage/make-appimage.sh $(realpath .) $(realpath ./build) $HOME/deps DuckStation-x64 scripts/packaging/appimage/make-appimage.sh $(realpath .) $(realpath ./build) $HOME/deps DuckStation-x64
- name: Upload Qt AppImage - name: Upload Qt AppImage
uses: actions/upload-artifact@v4.3.3 uses: actions/upload-artifact@v4
with: with:
name: "linux-x64-appimage" name: "linux-x64-appimage"
path: "DuckStation-x64.AppImage" path: "DuckStation-x64.AppImage"
@ -81,7 +81,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
- uses: actions/checkout@v4.1.6 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
@ -90,7 +90,7 @@ jobs:
- name: Cache Dependencies - name: Cache Dependencies
id: cache-deps id: cache-deps
uses: actions/cache@v4.0.2 uses: actions/cache@v4
with: with:
path: ~/deps path: ~/deps
key: deps ${{ hashFiles('scripts/deps/build-dependencies-linux.sh', 'scripts/deps/build-ffmpeg-linux.sh') }} key: deps ${{ hashFiles('scripts/deps/build-dependencies-linux.sh', 'scripts/deps/build-ffmpeg-linux.sh') }}
@ -141,7 +141,7 @@ jobs:
scripts/packaging/appimage/make-appimage.sh $(realpath .) $(realpath ./build) $HOME/deps DuckStation-x64-SSE2 scripts/packaging/appimage/make-appimage.sh $(realpath .) $(realpath ./build) $HOME/deps DuckStation-x64-SSE2
- name: Upload Qt AppImage - name: Upload Qt AppImage
uses: actions/upload-artifact@v4.3.3 uses: actions/upload-artifact@v4
with: with:
name: "linux-x64-sse2-appimage" name: "linux-x64-sse2-appimage"
path: "DuckStation-x64-SSE2.AppImage" path: "DuckStation-x64-SSE2.AppImage"

View File

@ -22,7 +22,7 @@ jobs:
options: --privileged options: --privileged
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
- uses: actions/checkout@v4.1.6 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
set-safe-directory: ${{ env.GITHUB_WORKSPACE }} set-safe-directory: ${{ env.GITHUB_WORKSPACE }}
@ -107,7 +107,7 @@ jobs:
build-log-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} build-log-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
- name: Upload Flatpak - name: Upload Flatpak
uses: actions/upload-artifact@v4.3.3 uses: actions/upload-artifact@v4
with: with:
name: "linux-flatpak" name: "linux-flatpak"
path: "duckstation-x64.flatpak" path: "duckstation-x64.flatpak"

View File

@ -10,7 +10,7 @@ jobs:
runs-on: macos-14 runs-on: macos-14
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
- uses: actions/checkout@v4.1.6 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
@ -24,7 +24,7 @@ jobs:
- name: Cache Dependencies - name: Cache Dependencies
id: cache-deps-mac id: cache-deps-mac
uses: actions/cache@v4.0.2 uses: actions/cache@v4
with: with:
path: ~/deps path: ~/deps
key: deps-mac ${{ hashFiles('scripts/deps/build-dependencies-mac.sh') }} key: deps-mac ${{ hashFiles('scripts/deps/build-dependencies-mac.sh') }}
@ -73,7 +73,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@v4.3.3 uses: actions/upload-artifact@v4
with: with:
name: "macos" name: "macos"
path: "build/duckstation-mac-release.zip" path: "build/duckstation-mac-release.zip"

View File

@ -39,7 +39,7 @@ 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 Artifacts - name: Download Artifacts
uses: actions/download-artifact@v4.1.7 uses: actions/download-artifact@v4
with: with:
path: ./artifacts/ path: ./artifacts/

View File

@ -8,13 +8,13 @@ jobs:
runs-on: windows-2022 runs-on: windows-2022
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
- uses: actions/checkout@v4.1.6 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache Dependencies - name: Cache Dependencies
id: cache-deps id: cache-deps
uses: actions/cache@v4.0.2 uses: actions/cache@v4
with: with:
path: | path: |
dep/msvc/deps-arm64 dep/msvc/deps-arm64
@ -30,7 +30,7 @@ jobs:
- name: Upload Cache Files - name: Upload Cache Files
if: steps.cache-deps.outputs.cache-hit == 'true' if: steps.cache-deps.outputs.cache-hit == 'true'
uses: actions/upload-artifact@v4.3.3 uses: actions/upload-artifact@v4
with: with:
name: "windows" name: "windows"
path: "deps-*.zip" path: "deps-*.zip"

View File

@ -10,13 +10,13 @@ jobs:
runs-on: windows-2022 runs-on: windows-2022
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
- uses: actions/checkout@v4.1.6 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache Dependencies - name: Cache Dependencies
id: cache-deps id: cache-deps
uses: actions/cache@v4.0.2 uses: actions/cache@v4
with: with:
path: | path: |
dep/msvc/deps-arm64 dep/msvc/deps-arm64
@ -97,7 +97,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@v4.3.3 uses: actions/upload-artifact@v4
with: with:
name: "windows-x64" name: "windows-x64"
path: "duckstation-windows-x64-release*.zip" path: "duckstation-windows-x64-release*.zip"
@ -108,13 +108,13 @@ jobs:
runs-on: windows-2022 runs-on: windows-2022
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
- uses: actions/checkout@v4.1.6 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache Dependencies - name: Cache Dependencies
id: cache-deps id: cache-deps
uses: actions/cache@v4.0.2 uses: actions/cache@v4
with: with:
path: | path: |
dep/msvc/deps-arm64 dep/msvc/deps-arm64
@ -195,7 +195,7 @@ jobs:
"C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-x64-sse2-release.zip ./bin/x64/* "C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-x64-sse2-release.zip ./bin/x64/*
- name: Upload x64 Release Artifact - name: Upload x64 Release Artifact
uses: actions/upload-artifact@v4.3.3 uses: actions/upload-artifact@v4
with: with:
name: "windows-x64-sse2" name: "windows-x64-sse2"
path: "duckstation-windows-x64-sse2-release*.zip" path: "duckstation-windows-x64-sse2-release*.zip"
@ -206,14 +206,14 @@ jobs:
runs-on: windows-2022 runs-on: windows-2022
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
- uses: actions/checkout@v4.1.6 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
submodules: true submodules: true
- name: Cache Dependencies - name: Cache Dependencies
id: cache-deps id: cache-deps
uses: actions/cache@v4.0.2 uses: actions/cache@v4
with: with:
path: | path: |
dep/msvc/deps-arm64 dep/msvc/deps-arm64
@ -294,7 +294,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@v4.3.3 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"