File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 9494 id : version
9595 run : |
9696 echo "NEXT_VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
97-
98- - name : Generate version.json
99- if : (env.DRY_RUN) == 'false'
100- run : |
101- echo '{ "version": "${{ steps.version.outputs.NEXT_VERSION }}" }' > ./sdk/version.json
102- cp ./sdk/version.json ./sdk/dist/
10397
10498 - name : Typecheck
10599 run : yarn typecheck
@@ -119,6 +113,12 @@ jobs:
119113 ls -l ./sdk/dist/browser/checkout || echo 1
120114 [ -d "./sdk/dist/browser/checkout" ] || { echo "Error: Directory does not exist." && exit 1; }
121115
116+ - name : Generate version.json
117+ if : (env.DRY_RUN) == 'false'
118+ run : |
119+ echo '{ "version": "${{ steps.version.outputs.NEXT_VERSION }}" }' > ./sdk/version.json
120+ cp ./sdk/version.json ./sdk/dist/
121+
122122 - name : Push tags
123123 # Boolean inputs are not actually booleans, see https://github.com/actions/runner/issues/1483
124124 if : (env.DRY_RUN) == 'false'
You can’t perform that action at this time.
0 commit comments