Skip to content

Commit

Permalink
add artifacts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Oct 30, 2023
1 parent 6334524 commit c30d27e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
release:
types: [created]

jobs:
release:
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.GH_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: "README.md LICENSE"

0 comments on commit c30d27e

Please sign in to comment.