Downgrade create_release_assets.yml workflow (#1098)

Downgrade `create_release_assets.yml` workflow Ubuntu version to `22.04` from `24.04`
This commit is contained in:
Gideon
2025-04-07 02:39:56 +02:00
committed by GitHub
parent 4488f3d5d3
commit 109a9c76e3

View File

@@ -13,14 +13,14 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
platform: [ ubuntu-latest, macos-latest, macos-13, windows-latest ] platform: [ ubuntu-22.04, macos-latest, macos-13, windows-latest ]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install cargo-deb - name: Install cargo-deb
run: cargo install cargo-deb run: cargo install cargo-deb
if: ${{ matrix.platform == 'ubuntu-latest' }} if: ${{ startsWith(matrix.platform, 'ubuntu-') }}
shell: bash shell: bash
- name: Check format - name: Check format
@@ -59,14 +59,14 @@ jobs:
rm -rf target/release rm -rf target/release
cargo build --release cargo build --release
cargo deb --no-build --no-strip cargo deb --no-build --no-strip
if: ${{ matrix.platform == 'ubuntu-latest' }} if: ${{ startsWith(matrix.platform, 'ubuntu-') }}
shell: bash shell: bash
- name: Move Debian-based system package - name: Move Debian-based system package
run: | run: |
mkdir -p assets mkdir -p assets
mv target/debian/*.deb assets mv target/debian/*.deb assets
if: ${{ matrix.platform == 'ubuntu-latest' }} if: ${{ startsWith(matrix.platform, 'ubuntu-') }}
shell: bash shell: bash
- name: Rename Release (Windows) - name: Rename Release (Windows)