Skip to content

Commit

Permalink
Fixed release workflow bug, it will now use PACKAGE variable
Browse files Browse the repository at this point in the history
Also, moved npm publish to only run after tagging and release has been completed
  • Loading branch information
saidsef committed Jul 5, 2023
1 parent 6a76705 commit 0e50f7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
result-encoding: string
script: |
const { repo: { owner, repo }, sha } = context;
const tag = process.env.DATE;
const tag = process.env.PACKAGE;
let release_id = 0;
try {
Expand Down Expand Up @@ -96,8 +96,8 @@ jobs:
npm:
runs-on: ubuntu-latest
if: ${{ contains(github.ref, 'main') }}
name: GitHub Release
needs: [tagging]
name: NPM Release
needs: [tagging, release]
steps:
- name: Git Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 0e50f7c

Please sign in to comment.