diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1131ad6..da358f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}