CI: Bump actions versions

This commit is contained in:
Stenzek 2023-12-18 16:47:19 +10:00
parent b9665e83a3
commit e736998f1e
No known key found for this signature in database

View File

@ -23,13 +23,13 @@ jobs:
runs-on: windows-2022 runs-on: windows-2022
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
- uses: actions/checkout@v2.3.1 - uses: actions/checkout@v4.1.1
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache Dependencies - name: Cache Dependencies
id: cache-deps id: cache-deps
uses: actions/cache@v3 uses: actions/cache@v3.3.2
with: with:
path: | path: |
dep/msvc/deps-arm64 dep/msvc/deps-arm64
@ -115,14 +115,14 @@ jobs:
runs-on: windows-2022 runs-on: windows-2022
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
- uses: actions/checkout@v2.3.1 - uses: actions/checkout@v4.1.1
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@v3 uses: actions/cache@v3.3.2
with: with:
path: | path: |
dep/msvc/deps-arm64 dep/msvc/deps-arm64
@ -215,7 +215,7 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install -y --allow-downgrades libc6=2.35-0ubuntu3.5 libc6-dev=2.35-0ubuntu3.5 libstdc++6=12.3.0-1ubuntu1~22.04 libgcc-s1=12.3.0-1ubuntu1~22.04 sudo apt-get install -y --allow-downgrades libc6=2.35-0ubuntu3.5 libc6-dev=2.35-0ubuntu3.5 libstdc++6=12.3.0-1ubuntu1~22.04 libgcc-s1=12.3.0-1ubuntu1~22.04
- uses: actions/checkout@v2.3.1 - uses: actions/checkout@v4.1.1
with: with:
fetch-depth: 0 fetch-depth: 0
@ -236,7 +236,7 @@ jobs:
- name: Cache Dependencies - name: Cache Dependencies
id: cache-deps id: cache-deps
uses: actions/cache@v3 uses: actions/cache@v3.3.2
with: with:
path: ~/deps path: ~/deps
key: deps ${{ hashFiles('scripts/build-dependencies.sh') }} key: deps ${{ hashFiles('scripts/build-dependencies.sh') }}
@ -298,7 +298,7 @@ jobs:
flatpak run org.freedesktop.appstream-glib validate scripts/flatpak/org.duckstation.DuckStation.metainfo.xml flatpak run org.freedesktop.appstream-glib validate scripts/flatpak/org.duckstation.DuckStation.metainfo.xml
- name: Build Flatpak - name: Build Flatpak
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1 uses: flatpak/flatpak-github-actions/flatpak-builder@v6.3
with: with:
bundle: duckstation-x64.flatpak bundle: duckstation-x64.flatpak
manifest-path: scripts/flatpak/org.duckstation.DuckStation.json manifest-path: scripts/flatpak/org.duckstation.DuckStation.json
@ -327,7 +327,7 @@ jobs:
runs-on: macos-11 runs-on: macos-11
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
- uses: actions/checkout@v2.3.1 - uses: actions/checkout@v4.1.1
with: with:
fetch-depth: 0 fetch-depth: 0
@ -343,7 +343,7 @@ jobs:
- name: Cache Dependencies - name: Cache Dependencies
id: cache-deps-mac id: cache-deps-mac
uses: actions/cache@v3 uses: actions/cache@v3.3.2
with: with:
path: ~/deps path: ~/deps
key: deps-mac ${{ hashFiles('scripts/build-dependencies-mac.sh') }} key: deps-mac ${{ hashFiles('scripts/build-dependencies-mac.sh') }}
@ -389,7 +389,7 @@ jobs:
create-release: create-release:
needs: [windows-build, windows-arm64-build, linux-build, linux-flatpak-build, macos-build] needs: [windows-build, windows-arm64-build, linux-build, linux-flatpak-build, macos-build]
runs-on: "ubuntu-20.04" runs-on: "ubuntu-22.04"
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