From a4b95a121056608e5e63b4fad0b125b379d92893 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 19:46:26 +0000 Subject: [PATCH 1/2] Address Node.js 20 deprecation in GitHub Actions Updated `.github/workflows/rust.yaml` to opt into the Node.js 24 runtime by setting the `FORCE_JAVASCRIPT_ACTIONS_TO_NODE24` environment variable. Retained `v4` for `actions/checkout` and `actions/upload-artifact` to ensure compatibility with currently stable major versions while enabling the Node 24 migration path. Co-authored-by: weter11 <14630689+weter11@users.noreply.github.com> --- .github/workflows/rust.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index f920c574..373e992a 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -1,5 +1,8 @@ name: SteamFlow Rust Build +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + on: push: paths: From 6f2c06322f45a7bc0672b40c7bfe506ca4a551a3 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 20:48:59 +0000 Subject: [PATCH 2/2] Upgrade GitHub Actions and enable unzipped artifact uploads Updated `.github/workflows/rust.yaml` to: - Upgrade `actions/checkout` to `v6` - Upgrade `actions/upload-artifact` to `v7` - Enable unzipped uploads for `.deb` and `.exe` binaries using `archive: false` - Opt into the Node.js 24 runtime via `FORCE_JAVASCRIPT_ACTIONS_TO_NODE24` This aligns with the latest 2026 standards for GitHub Actions and optimizes artifact delivery for single-file binaries. Co-authored-by: weter11 <14630689+weter11@users.noreply.github.com> --- .github/workflows/rust.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 373e992a..71815f4f 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install system dependencies run: | @@ -54,16 +54,17 @@ jobs: run: cargo deb --no-build - name: Upload .deb artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: steamflow-deb path: target/debian/*.deb + archive: false steamflow-windows: runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable @@ -72,7 +73,8 @@ jobs: run: cargo build --release - name: Upload Windows binary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: steamflow-windows path: target/release/steamflow.exe + archive: false