Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Oct 31, 2021
1 parent c2ed0da commit a7af368
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: cutenode/action-always-fail@v1
if: steps.wait-for-tests.outputs.conclusion != 'success'

build:
release:
name: Build package
runs-on: ubuntu-latest
needs: [wait]
Expand Down Expand Up @@ -74,19 +74,13 @@ jobs:
run: |
twine upload --skip-existing dist/*
release:
name: Release version
runs-on: ubuntu-latest
needs: [wait, build]

steps:
- name: Create release
- name: Create Github release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ github.ref }}
draft: false
prerelease: false
files: |
dist/*

0 comments on commit a7af368

Please sign in to comment.