From 22ed9b4cac3fa1d6d4dd9119d576e3bc35de4e00 Mon Sep 17 00:00:00 2001 From: raikasdev Date: Sat, 31 Aug 2024 16:28:26 +0300 Subject: [PATCH] Fix CI --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 }}