Skip to content

Commit

Permalink
Create rust_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sdasda7777 authored Feb 26, 2024
1 parent a9a67a2 commit fa535e0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/rust_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Rust Release

on:
release:
types: [created]

jobs:
release:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [ {name: x86_64-pc-windows-gnu} ]
steps:
- uses: actions/checkout@master
- name: Compile and release
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
TOOLCHAIN_VERSION: nightly
RUSTTARGET: ${{ matrix.target.name }}
STATIC_LINKING: true

0 comments on commit fa535e0

Please sign in to comment.