Skip to content

Commit

Permalink
[ci-skip] fix build number not incrementing after successful build
Browse files Browse the repository at this point in the history
  • Loading branch information
granny committed Nov 9, 2023
1 parent aa6a252 commit 832f12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
github-token: ${{ secrets.GH_TOKEN }}
script: |
const { owner, repo } = context.repo;
const value = ${{ env.NEXT_BUILD_NUMBER }} + 1;
const value = '' + (${{ env.NEXT_BUILD_NUMBER }} + 1);
core.info(`attempting to update variable 'NEXT_BUILD_NUMBER' to '${value}'.`);
const { status, data } = await github.request('PATCH /repos/{owner}/{repo}/actions/variables/{name}', {
Expand Down

0 comments on commit 832f12a

Please sign in to comment.