Skip to content

Commit

Permalink
ubuntu-24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Feb 11, 2025
1 parent abc47e9 commit 8c3ce57
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8c3ce57

Please sign in to comment.