Skip to content

Commit

Permalink
files: add main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
blamster19 committed Jul 17, 2023
1 parent c2bdbb3 commit be15102
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release

permissions:
contents: write

on:
push:
tags:
- 'v[0-9].[0-9].[0-9]'

env:
CARGO_TERM_COLOR: always

jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md
token: ${{ secrets.GITHUB_TOKEN }}

upload-assets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: cru
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit be15102

Please sign in to comment.