Skip to content

Commit

Permalink
github: add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jullanggit committed Feb 18, 2025
1 parent 5043a39 commit 7f8ad26
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
push:
tags:
- "*"
workflow_dispatch:

jobs:
release:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
inlucde:
- target: [x86_64-unknown-linux-musl]
archive: zip tar.gz tar.zst
steps:
- uses: actions/checkout@v4
- name: Compile and release
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}
TOOLCHAIN_VERSION: nightly

0 comments on commit 7f8ad26

Please sign in to comment.