Skip to content

Commit

Permalink
⚡ add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jiusanzhou authored Oct 19, 2021
1 parent fd3358a commit 9deeaf5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Rust

on:
release:
types: [created]
env:
CARGO_TERM_COLOR: always

jobs:
release:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-msvc]
steps:
- uses: actions/checkout@v2
- name: Rust Release binary
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUSTTARGET: ${{ matrix.target }}

0 comments on commit 9deeaf5

Please sign in to comment.