Skip to content

Commit

Permalink
minor workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ukorvl committed Aug 6, 2023
1 parent ac7689f commit 0f9f669
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,6 @@ jobs:
npm config set "//registry.npmjs.org/:_authToken" ${{ secrets.NPM_PUBLISH_TOKEN }}
npm publish --access public ukorvl-react-on-screen-${{ needs.ensure_version_changed.outputs.version }}.tgz
release:
runs-on: ubuntu-latest
needs: [build, ensure_version_changed, publish]
if: ${{ needs.ensure_version_changed.outputs.version }}
name: Create release
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
name: Release ${{ needs.ensure_version_changed.outputs.version }}

tag:
runs-on: [ubuntu-latest]
needs: [build, ensure_version_changed, publish, release]
Expand All @@ -84,3 +71,17 @@ jobs:
uses: ad-m/github-push-action@master
with:
tags: true

release:
runs-on: ubuntu-latest
needs: [build, ensure_version_changed, publish]
if: ${{ needs.ensure_version_changed.outputs.version }}
name: Create release
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
tag: v${{ needs.ensure_version_changed.outputs.version }}
name: Release ${{ needs.ensure_version_changed.outputs.version }}

0 comments on commit 0f9f669

Please sign in to comment.