Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
booniepepper authored Oct 15, 2023
1 parent 5a64f5d commit 0260f94
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Add artifacts to release

on:
workflow_dispatch: # TODO: Remove when this is working
release:
types: [created]

jobs:
release:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-unknown-linux-musl
- target: x86_64-pc-windows-gnu
- target: x86_64-apple-darwin
- target: wasm32-wasi
# TODO: How?
# - target: aarch64-unknown-linux-musl
# - target: aarch64-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 }}
ARCHIVE_TYPES: tar.gz zip
EXTRA_FILES: LICENSE README.md sigi.1

0 comments on commit 0260f94

Please sign in to comment.