Skip to content

Commit

Permalink
workflows/release: change to a publish-based workflow
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw committed Sep 22, 2022
1 parent 2abe936 commit bc627bc
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,11 @@
on:
push:
tags:
- "v*"
release:
types:
- published

name: release

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: ${{ contains(github.ref, 'pre') || contains(github.ref, 'rc') }}

crate:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit bc627bc

Please sign in to comment.