Skip to content

Commit

Permalink
create releases from ubuntu 20.04 instead of 18.04
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Nov 15, 2022
1 parent f5999f5 commit 8ca2330
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
strategy:
matrix:
# Use an older ubuntu to compile with an older glibc
os: [macos-latest, windows-latest, ubuntu-18.04]
os: [macos-latest, windows-latest, ubuntu-20.04]
include:
- os: windows-latest
binary_path: target/release/dezoomify-rs.exe
- os: macos-latest
binary_path: target/release/dezoomify-rs
- os: ubuntu-18.04
- os: ubuntu-20.04
binary_path: target/release/dezoomify-rs
steps:
- uses: actions/checkout@v2
Expand All @@ -34,7 +34,7 @@ jobs:
create_release:
name: Create Release
needs: build
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@master
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
asset_content_type: application/octet-stream

- uses: actions/download-artifact@v1
with: { name: dezoomify-rs ubuntu-18.04, path: . }
with: { name: dezoomify-rs ubuntu-20.04, path: . }
- run: chmod +x dezoomify-rs && tar --create --file dezoomify-rs-linux.tgz --gzip dezoomify-rs
- name: Upload Linux binary
uses: lovasoa/upload-release-asset@851d9cc59fe8113912edffbd8fddaa09470a5ac0
Expand Down

0 comments on commit 8ca2330

Please sign in to comment.