From 109a9c76e3aef5e4aeb933664bce9c6f4743f8b0 Mon Sep 17 00:00:00 2001 From: Gideon <87426140+GideonBear@users.noreply.github.com> Date: Mon, 7 Apr 2025 02:39:56 +0200 Subject: [PATCH] Downgrade `create_release_assets.yml` workflow (#1098) Downgrade `create_release_assets.yml` workflow Ubuntu version to `22.04` from `24.04` --- .github/workflows/create_release_assets.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create_release_assets.yml b/.github/workflows/create_release_assets.yml index 68c64224..eb15cc4f 100644 --- a/.github/workflows/create_release_assets.yml +++ b/.github/workflows/create_release_assets.yml @@ -13,14 +13,14 @@ jobs: strategy: fail-fast: false matrix: - platform: [ ubuntu-latest, macos-latest, macos-13, windows-latest ] + platform: [ ubuntu-22.04, macos-latest, macos-13, windows-latest ] runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v4 - name: Install cargo-deb run: cargo install cargo-deb - if: ${{ matrix.platform == 'ubuntu-latest' }} + if: ${{ startsWith(matrix.platform, 'ubuntu-') }} shell: bash - name: Check format @@ -59,14 +59,14 @@ jobs: rm -rf target/release cargo build --release cargo deb --no-build --no-strip - if: ${{ matrix.platform == 'ubuntu-latest' }} + if: ${{ startsWith(matrix.platform, 'ubuntu-') }} shell: bash - name: Move Debian-based system package run: | mkdir -p assets mv target/debian/*.deb assets - if: ${{ matrix.platform == 'ubuntu-latest' }} + if: ${{ startsWith(matrix.platform, 'ubuntu-') }} shell: bash - name: Rename Release (Windows)