ci: bump GitHub Actions to v5 for Node 24 compatibility
actions/checkout, actions/cache, actions/upload-artifact, and actions/download-artifact bumped from v4 to v5 across both ci.yml and release.yml. Pre-empts the 2026-06-02 Node 20 deprecation deadline. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Install Rust stable
|
- name: Install Rust stable
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
libxkbcommon-dev
|
libxkbcommon-dev
|
||||||
|
|
||||||
- name: Cache cargo registry and build artifacts
|
- name: Cache cargo registry and build artifacts
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
@@ -59,7 +59,7 @@ jobs:
|
|||||||
needs: test
|
needs: test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Install Rust stable
|
- name: Install Rust stable
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
@@ -74,7 +74,7 @@ jobs:
|
|||||||
libxkbcommon-dev
|
libxkbcommon-dev
|
||||||
|
|
||||||
- name: Cache cargo registry and build artifacts
|
- name: Cache cargo registry and build artifacts
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Install Rust stable
|
- name: Install Rust stable
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
|
libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
|
||||||
|
|
||||||
- name: Cache cargo registry + build artifacts
|
- name: Cache cargo registry + build artifacts
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
cp -r assets solitaire-quest/
|
cp -r assets solitaire-quest/
|
||||||
tar -czf solitaire-quest-linux-x86_64.tar.gz solitaire-quest
|
tar -czf solitaire-quest-linux-x86_64.tar.gz solitaire-quest
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
path: solitaire-quest-linux-x86_64.tar.gz
|
path: solitaire-quest-linux-x86_64.tar.gz
|
||||||
@@ -76,7 +76,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Install Rust stable + Android targets
|
- name: Install Rust stable + Android targets
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
@@ -90,7 +90,7 @@ jobs:
|
|||||||
run: echo "ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME" >> $GITHUB_ENV
|
run: echo "ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Cache cargo registry + cargo-apk binary + build artifacts
|
- name: Cache cargo registry + cargo-apk binary + build artifacts
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
@@ -134,7 +134,7 @@ jobs:
|
|||||||
"solitaire-quest-${{ github.ref_name }}.apk"
|
"solitaire-quest-${{ github.ref_name }}.apk"
|
||||||
rm release.keystore
|
rm release.keystore
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: android
|
name: android
|
||||||
path: solitaire-quest-${{ github.ref_name }}.apk
|
path: solitaire-quest-${{ github.ref_name }}.apk
|
||||||
@@ -148,11 +148,11 @@ jobs:
|
|||||||
needs: [build-linux, build-android]
|
needs: [build-linux, build-android]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: android
|
name: android
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user