Skip to content

Commit

Permalink
chore: replace ubuntu-latest to ubuntu-22.04
Browse files Browse the repository at this point in the history
Signed-off-by: The1111mp <[email protected]>
  • Loading branch information
1111mp committed Oct 17, 2024
1 parent 523dab4 commit 8a749ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
- os: macos-latest
target: x86_64-apple-darwin
arch: x64
- os: ubuntu-latest
- os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
arch: x64
- os: ubuntu-latest
- os: ubuntu-22.04
target: aarch64-unknown-linux-gnu
arch: arm64
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
mv target/${{ matrix.target }}/release/nvmd nvmd_macos-${{ matrix.arch }}
- name: Rename For Linux
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-22.04'
run: |
mv target/${{ matrix.target }}/release/nvmd nvmd_linux-${{ matrix.arch }}
Expand All @@ -87,7 +87,7 @@ jobs:
upload_alpha:
name: Upload Release
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [alpha]
steps:
- name: Checkout repository
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
- os: macos-latest
target: x86_64-apple-darwin
arch: x64
- os: ubuntu-latest
- os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
arch: x64
- os: ubuntu-latest
- os: ubuntu-22.04
target: aarch64-unknown-linux-gnu
arch: arm64
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
mv target/${{ matrix.target }}/release/nvmd nvmd_macos-${{ matrix.arch }}
- name: Rename For Linux
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-22.04'
run: |
mv target/${{ matrix.target }}/release/nvmd nvmd_linux-${{ matrix.arch }}
Expand All @@ -101,7 +101,7 @@ jobs:
upload_release:
name: Upload Release
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [release]
steps:
- name: Checkout repository
Expand Down

0 comments on commit 8a749ca

Please sign in to comment.