Skip to content

Commit

Permalink
add github actions to build release
Browse files Browse the repository at this point in the history
  • Loading branch information
RinChanNOWWW committed Aug 31, 2021
1 parent 19909d7 commit ccd281b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Create Release

jobs:
deploy:
name: Release
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build ruborute
run: |
cargo build --release --all-features
- name: Create Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref }}
name: ruborute ${{ github.ref }}
draft: true
files: |
./target/release/ruborute.exe
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ccd281b

Please sign in to comment.