Skip to content

Commit

Permalink
release-workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <[email protected]>
  • Loading branch information
jkowalleck committed May 28, 2024
1 parent 8667475 commit 77f00aa
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,6 @@ jobs:
path: ${{ env.DIST_DIR }}
retention-days: 5
if-no-files-found: error
- name: pack dist
run: yarn "./$DIST_DIR" pack --out "../$PACK_DIR/%s-%v.tgz"
- name: artifact pack result
# see https://github.com/actions/upload-artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.PACK_DIR }}
path: ${{ env.PACK_DIR }}
retention-days: 5
if-no-files-found: error

test-licenses:
needs: [ 'build' ]
Expand Down Expand Up @@ -217,6 +207,18 @@ jobs:
--provenance
--access public
--tag "$NPMJS_RELEASE_TAG"
- name: pack release result
run: |
mkdir -p "$PACKED_DIR"
npm pack --pack-destination "$PACKED_DIR"
- name: artifact release result
# see https://github.com/actions/upload-artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.PACKED_DIR }}
path: ${{ env.PACKED_DIR }}/
if-no-files-found: error


release-GH:
needs:
Expand Down

0 comments on commit 77f00aa

Please sign in to comment.