Skip to content

Commit

Permalink
fix(ci): typos in release.yml (#550)
Browse files Browse the repository at this point in the history
Oof, I can't believe I missed these. The publish steps are hard to test
locally with `act` so ig they require extra scrutiny.

#### Motivation and context

Bug on manual dispatch of `releasae` wflow.

Signed-off-by: Yohe-Am <[email protected]>
  • Loading branch information
Yohe-Am authored Jan 14, 2024
1 parent 42aad1f commit c22c950
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
cd typegraph/python
poetry install
poetry build
[ $${{ github.event_name == 'workflow_dispatch' && inputs.ovewriteArtifacts }} == 'true' ] \
[ ${{ github.event_name == 'workflow_dispatch' && inputs.ovewriteArtifacts }} == 'true' ] \
&& poetry publish --skip-existing \
|| poetry publish
cd ../..
Expand All @@ -176,7 +176,7 @@ jobs:
cd typegraph/node/sdk/dist
pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
[ $${{ github.event_name == 'workflow_dispatch' && inputs.ovewriteArtifacts }} == 'true' ] \
[ ${{ github.event_name == 'workflow_dispatch' && inputs.ovewriteArtifacts }} == 'true' ] \
&& pnpm publish --no-git-checks --force \
|| pnpm publish --no-git-checks
- uses: svenstaro/upload-release-action@v2
Expand Down Expand Up @@ -289,9 +289,9 @@ jobs:
pnpm compile:vscode
pnpm vscode:package
[ $${{ github.event_name == 'workflow_dispatch' && inputs.ovewriteArtifacts }} == 'true' ] \
&& pnpm run vscode:publish -p $${ env.AZURE_DEVOPS_TOKEN } --skip-duplicate \
|| pnpm run vscode:publish -p $${ env.AZURE_DEVOPS_TOKEN }
[ ${{ github.event_name == 'workflow_dispatch' && inputs.ovewriteArtifacts }} == 'true' ] \
&& pnpm run vscode:publish -p ${{ env.AZURE_DEVOPS_TOKEN }} --skip-duplicate \
|| pnpm run vscode:publish -p ${{ env.AZURE_DEVOPS_TOKEN }}
- uses: svenstaro/upload-release-action@v2
with:
tag: ${{ steps.latest-tag.outputs.tag }}
Expand Down

0 comments on commit c22c950

Please sign in to comment.