Skip to content

Commit

Permalink
fix: Fix indentation in publish workflow (#2485)
Browse files Browse the repository at this point in the history
  • Loading branch information
mimi-imtbl authored Jan 6, 2025
1 parent 33eed53 commit 0cdd654
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-major-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
- name: Pre Release Step
if: contains(github.event.inputs.release_type, 'alpha')
id: pre_release
uses: JS-DevTools/npm-publish@v3
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c
with:
token: ${{ secrets.TS_IMMUTABLE_SDK_NPM_TOKEN }}
access: public
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
echo "NEXT_VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
- name: Generate version.json
if: (env.DRY_RUN) == 'false'
run: |
echo '{ "version": "${{ steps.version.outputs.NEXT_VERSION }}" }' > ./sdk/version.json
cp ./sdk/version.json ./sdk/dist/
Expand Down Expand Up @@ -127,7 +128,7 @@ jobs:
- name: Pre Release Step
if: contains(env.RELEASE_TYPE, 'alpha')
id: pre_release
uses: JS-DevTools/npm-publish@v3
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c
with:
token: ${{ secrets.TS_IMMUTABLE_SDK_NPM_TOKEN }}
access: public
Expand Down Expand Up @@ -186,7 +187,7 @@ jobs:
with:
message: "❌ Failed to publish SDK version ${{steps.version.outputs.NEXT_VERSION}} to NPM. ${{ github.triggering_actor }} please check the logs for more details."

- name: Wait for NPM @latest Update
- name: Wait for NPM @latest Update
id: wait_for_npm_update
if: contains(env.RELEASE_TYPE, 'release') && env.DRY_RUN == 'false'
run: |
Expand Down

0 comments on commit 0cdd654

Please sign in to comment.