diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c28f609..eb255f95 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,10 +37,10 @@ jobs: uses: codecov/codecov-action@v4 - name: Extract branch name shell: bash - run: echo "branch=(echo ${GITHUB_REF#refs/heads/})" + run: echo "BRANCH=(echo ${GITHUB_REF#refs/heads/})" id: extract_branch - name: Preview semantic-release version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }} - run: npx semantic-release --dry-run --branches=${{ steps.extract_branch.outputs.branch }} + run: npx semantic-release --dry-run --branches=${{ $BRANCH }}