Skip to content

Commit 0cdd654

Browse files
authored
fix: Fix indentation in publish workflow (#2485)
1 parent 33eed53 commit 0cdd654

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/publish-major-version.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
- name: Pre Release Step
143143
if: contains(github.event.inputs.release_type, 'alpha')
144144
id: pre_release
145-
uses: JS-DevTools/npm-publish@v3
145+
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c
146146
with:
147147
token: ${{ secrets.TS_IMMUTABLE_SDK_NPM_TOKEN }}
148148
access: public

.github/workflows/publish.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ jobs:
9696
echo "NEXT_VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
9797
9898
- name: Generate version.json
99+
if: (env.DRY_RUN) == 'false'
99100
run: |
100101
echo '{ "version": "${{ steps.version.outputs.NEXT_VERSION }}" }' > ./sdk/version.json
101102
cp ./sdk/version.json ./sdk/dist/
@@ -127,7 +128,7 @@ jobs:
127128
- name: Pre Release Step
128129
if: contains(env.RELEASE_TYPE, 'alpha')
129130
id: pre_release
130-
uses: JS-DevTools/npm-publish@v3
131+
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c
131132
with:
132133
token: ${{ secrets.TS_IMMUTABLE_SDK_NPM_TOKEN }}
133134
access: public
@@ -186,7 +187,7 @@ jobs:
186187
with:
187188
message: "❌ Failed to publish SDK version ${{steps.version.outputs.NEXT_VERSION}} to NPM. ${{ github.triggering_actor }} please check the logs for more details."
188189

189-
- name: Wait for NPM @latest Update
190+
- name: Wait for NPM @latest Update
190191
id: wait_for_npm_update
191192
if: contains(env.RELEASE_TYPE, 'release') && env.DRY_RUN == 'false'
192193
run: |

0 commit comments

Comments
 (0)