diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1050115f..135e5d8f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,11 +72,8 @@ jobs: - name: Install Dependencies run: yarn - name: Build 🗜️ - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | - SEMANTIC_RELEASE_NEXT_VERSION=$(npx semantic-release --no-ci --dry-run | grep -oP 'The next release version is \K[0-9]+\.[0-9]+\.[0-9]+') + export SEMANTIC_RELEASE_NEXT_VERSION=$(npx semantic-release --no-ci --dry-run | grep -oP 'The next release version is \K[0-9]+\.[0-9]+\.[0-9]+') echo "Next Version: $SEMANTIC_RELEASE_NEXT_VERSION" yarn run build if ! git diff --quiet; then @@ -90,4 +87,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npx semantic-release + run: echo npx semantic-release