Skip to content

Commit

Permalink
release: refactor release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw committed Aug 4, 2023
1 parent 0ab3cf0 commit 4db5ff5
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,15 @@ name: release
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v2

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

- name: publish to crates.io
Expand Down

0 comments on commit 4db5ff5

Please sign in to comment.