Skip to content

Commit 4eb80d7

Browse files
authored
fix(ci): Skip JS packaging. (#68)
Use the one generated by the Release step.
1 parent 2e3c2d9 commit 4eb80d7

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,12 @@ jobs:
8080
GITHUB_REPOSITORY: ${{ github.repository }}
8181
GITHUB_REF: ${{ github.ref }}
8282
run: errout=$(mktemp); gh release create $(cat dist/releasetag.txt) -R $GITHUB_REPOSITORY -F dist/changelog.md -t $(cat dist/releasetag.txt) --target $GITHUB_REF 2> $errout && true; exitcode=$?; if [ $exitcode -ne 0 ] && ! grep -q "Release.tag_name already exists" $errout; then cat $errout; exit $exitcode; fi
83-
- name: Create JS Artifact
84-
run: |
85-
rm -rf dist/js
86-
npx projen package:js
87-
ls -la dist/js
8883
- name: Release JS Artifact
8984
env:
9085
NPM_DIST_TAG: latest
9186
NPM_REGISTRY: registry.npmjs.org
9287
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
93-
run: |
94-
npx projen bump
95-
npx -p publib@latest publib-npm
88+
run: npx -p publib@latest publib-npm
9689
- name: Create Java Artifact
9790
run: npx projen package:java
9891
- name: Release Java Artifact

0 commit comments

Comments
 (0)