Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to '.github/workflows/release.yaml')
-rw-r--r--.github/workflows/release.yaml17
1 files changed, 13 insertions, 4 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index dc0a6c2d91..11014338d7 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -36,6 +36,7 @@ jobs:
- os: ubuntu-20.04
target: x86_64-unknown-linux-gnu
code-target: linux-x64
+ container: rockylinux:8
- os: ubuntu-20.04
target: aarch64-unknown-linux-gnu
code-target: linux-arm64
@@ -58,10 +59,18 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: ${{ env.FETCH_DEPTH }}
+ - name: Install toolchain dependencies
+ if: matrix.container == 'rockylinux:8'
+ shell: bash
+ run: |
+ dnf install -y gcc
+ curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --profile minimal --default-toolchain none -y
+ echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
+
- name: Install Rust toolchain
run: |
rustup update --no-self-update stable
@@ -69,9 +78,9 @@ jobs:
rustup component add rust-src
- name: Install Node.js
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
- node-version: 16
+ node-version: 18
- name: Update apt repositories
if: matrix.target == 'aarch64-unknown-linux-gnu' || matrix.target == 'arm-unknown-linux-gnueabihf'
@@ -181,7 +190,7 @@ jobs:
- name: Install Nodejs
uses: actions/setup-node@v4
with:
- node-version: 18
+ node-version: 20
- run: echo "TAG=$(date --iso -u)" >> $GITHUB_ENV
if: github.ref == 'refs/heads/release'