Skip to content

Commit

Permalink
chore: change release build os version
Browse files Browse the repository at this point in the history
  • Loading branch information
quake committed Mar 15, 2021
1 parent 5a40e0b commit efae122
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build: [linux, macos, windows]
include:
- build: linux
os: ubuntu-latest
os: ubuntu-18.04
rust: 1.46.0
- build: macos
os: macos-latest
Expand All @@ -49,7 +49,7 @@ jobs:

- name: Create archive for Linux
run: 7z a -ttar -so -an ./target/release/${{ env.RELEASE_BIN }} ${{ env.RELEASE_ADDS }} | 7z a -si ./artifacts/${{ env.RELEASE_BIN }}-linux-x86_64.tar.gz
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-18.04'

- name: Create archive for Windows
run: 7z a -tzip ./artifacts/${{ env.RELEASE_BIN }}-windows-x86_64.zip ./target/release/${{ env.RELEASE_BIN }}.exe ${{ env.RELEASE_ADDS }}
Expand Down

0 comments on commit efae122

Please sign in to comment.