Skip to content

Commit

Permalink
Adding release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
enaut committed Aug 12, 2021
1 parent 3a21efc commit 253dcd6
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
release:
types: [created]
name: Handle Release
jobs:
generate:
name: Create release-artifacts
runs-on: ubuntu-latest
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-unknown-linux-musl
override: true
- uses: davidB/rust-cargo-make@v1
with:
version: 'latest'
- uses: jetli/[email protected]
with:
version: 'latest'
- uses: actions/checkout@v2
- name: Install musl-tools
run: sudo apt-get install musl-tools
- name: Build
run: cargo make build_standalone
- name: Upload the artifacts
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: '/home/runner/work/pslink/pslink/target/x86_64-unknown-linux-musl/release/pslink'

0 comments on commit 253dcd6

Please sign in to comment.