Skip to content

Commit

Permalink
release-workflow: pin ubuntu version
Browse files Browse the repository at this point in the history
  • Loading branch information
aleasims committed Dec 9, 2024
1 parent 2a85a7e commit 2a4f8b3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
jobs:
create-release:
name: create-release
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
defaults:
run:
shell: bash
Expand Down Expand Up @@ -78,12 +78,12 @@ jobs:
matrix:
include:
- build: ubuntu-x86
os: ubuntu-latest
os: ubuntu-24.04
rust: stable
target: x86_64-unknown-linux-gnu
cross-platform: x86_64-unknown-linux-musl
- build: ubuntu-aarch64
os: ubuntu-latest
os: ubuntu-24.04
rust: stable
target: aarch64-unknown-linux-gnu
strip: aarch64-linux-gnu-strip
Expand All @@ -104,7 +104,7 @@ jobs:
uses: actions/checkout@v4

- name: Install packages (Ubuntu)
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-24.04'
run: |-
sudo apt-get update
sudo apt-get install -y openssl ca-certificates pkg-config cmake libssl-dev
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
target: ${{ matrix.target }}

- name: Use Cross
if: matrix.os == 'ubuntu-latest' && matrix.target != ''
if: matrix.os == 'ubuntu-24.04' && matrix.target != ''
run: |
# In the past, new releases of 'cross' have broken CI. So for now, we
# pin it. We also use their pre-compiled binary releases because cross
Expand Down

0 comments on commit 2a4f8b3

Please sign in to comment.