Skip to content

Commit d60fbc5

Browse files
committed
fix build number
1 parent c8c2355 commit d60fbc5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/testflight.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ jobs:
1010
if: ${{ github.event.release.prerelease }}
1111
runs-on: ['self-hosted', 'macOS', 'ARM64']
1212
steps:
13+
- name: "Run Number"
14+
id: run
15+
run: |
16+
echo "number=$(echo $((50 + ${{ github.run_number }})))" >> "$GITHUB_OUTPUT"
17+
- name: "Debug"
18+
run: |
19+
echo ${{ steps.run.outputs.number }}
1320
- name: "Add SSH Key"
1421
uses: webfactory/[email protected]
1522
with:
@@ -24,5 +31,5 @@ jobs:
2431
ASC_ISSUER_ID: ${{ secrets.ASC_ISSUER_ID }}
2532
ASC_API_KEY: ${{ secrets.ASC_API_KEY }}
2633
ASC_API_ID: ${{ secrets.ASC_API_ID }}
27-
BUILD_NUMBER: ${{ github.run_number }}
34+
BUILD_NUMBER: ${{ steps.run.outputs.number }}
2835
VERSION_NUMBER: ${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)