Skip to content

Commit

Permalink
Create GitHub release automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Aug 30, 2021
1 parent 1c9b1c2 commit 3f064f4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release

on:
push:
tags:
- '[0-9]+.*'

env:
RUSTFLAGS: -D warnings
RUST_BACKTRACE: 1

jobs:
create-release:
if: github.repository_owner == 'rust-lang'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
run: rustup update stable
- run: cargo build --all
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md
branch: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3f064f4

Please sign in to comment.