Skip to content

Commit

Permalink
Add static Linux release build
Browse files Browse the repository at this point in the history
  • Loading branch information
ninegua committed Jul 4, 2021
1 parent b5c7478 commit 080dc61
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,25 @@ jobs:
file: target/release/${{ matrix.artifact_name }}
asset_name: ${{ matrix.asset_name }}
tag: ${{ github.ref }}

name: Release Linux static x86_64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gmiam/rust-musl-action@master
with:
args: cargo build --target x86_64-unknown-linux-musl --release --locked
- name: Upload didc binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/x86_64-unknown-linux-musl/release/didc
asset_name: didc-linux-musl-x86_64
tag: ${{ github.ref }}
- name: Upload candiff binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/x86_64-unknown-linux-musl/release/candiff
asset_name: candiff-linux-musl-x86_64
tag: ${{ github.ref }}

0 comments on commit 080dc61

Please sign in to comment.