Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
develon2015 authored Mar 15, 2024
1 parent d30e27a commit affa21a
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,14 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --release --verbose
- name: GH Release
uses: softprops/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
target/release/hi-rust-release.exe
- uses: actions/checkout@master
- name: Compile and release
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: x86_64-pc-windows-msvc
ARCHIVE_TYPES: zip

permissions:
contents: write

0 comments on commit affa21a

Please sign in to comment.