From 8c3ce5748d98b4add85a29c28397fb8a355d31d6 Mon Sep 17 00:00:00 2001 From: Liam Bigelow <40188355+bglw@users.noreply.github.com> Date: Wed, 12 Feb 2025 08:21:08 +1300 Subject: [PATCH] ubuntu-24.04 --- .github/workflows/release.yml | 36 +++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 04ced41..bc865c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ env: jobs: publish-crate: name: Publish Crate - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: publish-github-release steps: - name: Clone @@ -32,14 +32,14 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: stable - override: true - default: true - components: rustfmt, clippy + toolchain: stable + override: true + default: true + components: rustfmt, clippy - name: Install Tooling run: | sudo apt update -y - sudo apt install -y musl-tools musl-dev clang gcc-aarch64-linux-gnu + sudo apt install -y musl-tools musl-dev clang gcc-aarch64-linux-gnu echo "TARGET_CC=clang" >> $GITHUB_ENV echo "CFLAGS_aarch64_unknown_linux_musl=--sysroot=/usr/aarch64-linux-gnu" >> $GITHUB_ENV echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=/usr/aarch64-linux-gnu/bin/ld" >> $GITHUB_ENV @@ -55,7 +55,7 @@ jobs: git checkout -b deploy_branch - name: Prepare Crates run: | - # Update cargo version, + # Update cargo version, node ./.backstage/version.cjs git add ./pagebreak/Cargo.toml # Commit changes so cargo doesn't complain about dirty repo @@ -71,7 +71,7 @@ jobs: publish-npm-package: name: Publish NPM package - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: publish-binary-npm-packages steps: - name: Clone @@ -102,7 +102,7 @@ jobs: publish-binary-npm-packages: name: Publish Binary NPM packages - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: publish-github-release strategy: matrix: @@ -166,7 +166,7 @@ jobs: publish-github-release: name: Publish to GitHub - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: test-and-build defaults: run: @@ -324,19 +324,19 @@ jobs: if: matrix.os == 'ubuntu-latest' run: | sudo apt update -y - sudo apt install -y musl-tools musl-dev clang gcc-aarch64-linux-gnu + sudo apt install -y musl-tools musl-dev clang gcc-aarch64-linux-gnu echo "TARGET_CC=clang" >> $GITHUB_ENV echo "CFLAGS_aarch64_unknown_linux_musl=--sysroot=/usr/aarch64-linux-gnu" >> $GITHUB_ENV echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=/usr/aarch64-linux-gnu/bin/ld" >> $GITHUB_ENV - + - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: ${{ matrix.rust }} - target: ${{ matrix.target }} - override: true - default: true - components: rustfmt, clippy + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + default: true + components: rustfmt, clippy - name: Install humane if: matrix.run_tests == true @@ -355,7 +355,7 @@ jobs: git checkout -b deploy_branch - name: Prepare Crates run: | - # Update cargo version, + # Update cargo version, node ./.backstage/version.cjs git add ./pagebreak/Cargo.toml # Commit changes so cargo doesn't complain about dirty repo