Skip to content

Commit

Permalink
add release binary job in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
imuxin committed Sep 8, 2022
1 parent 64556a0 commit 29e9571
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@ env:
IMAGE_NAME: ${{ github.repository }}

jobs:
release-binary:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl, x86_64-apple-darwin]
steps:
- uses: actions/checkout@master
- name: Compile and release
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: "README.md LICENSE"
publish-docker-image:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 29e9571

Please sign in to comment.