Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
raikasdev committed Aug 31, 2024
1 parent e1301e6 commit 22ed9b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@ jobs:
- name: Publish core types
run: |
sed -i "s/VERSION/21.0.4-$(git rev-parse --short $GITHUB_SHA)/g" java-core-types/package.json
npm publish --access=public java-core-types
cd java-core-types
npm publish --access=public ./java-core-types
if: github.ref == 'refs/heads/master'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Publish HttpClient types
run: |
sed -i "s/VERSION/21.0.4-$(git rev-parse --short $GITHUB_SHA)/g" httpclient-types/package.json
npm publish --access=public httpclient-types
npm publish --access=public ./httpclient-types
if: github.ref == 'refs/heads/master'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit 22ed9b4

Please sign in to comment.