diff --git a/.github/workflows/increment-test.yml b/.github/workflows/increment-test.yml index 42e2a6b..c4d1c5e 100644 --- a/.github/workflows/increment-test.yml +++ b/.github/workflows/increment-test.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Increment version code env: - NUM: ${{ github.run_number }} + NUM: ${{ github.run_attempt }} run: | echo "VERSION_CODE=$(($NUM + $INITIAL_VERSION_CODE))" >> $GITHUB_ENV