Skip to content

Commit

Permalink
chore: fix Publish to Microsoft Marketplace workflow (#5594)
Browse files Browse the repository at this point in the history
* chore: try echoing the command

* chore: comment out irrelevant steps to testing

* chore: try using format from publish open vsx command

* chore: change echo to eval + uncomment commented code

* chore: correct publish version
  • Loading branch information
daphne-sfdc committed May 10, 2024
1 parent 91eac1a commit 8b61c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publishVSCode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
run: ls -R ./extensions
- run: npm ci
- run: |
cmd=$(find . -type f -name "*.vsix" -print0 | xargs -0 printf 'npx vsce publish --skip-duplicate --pat "%s" --packagePath "%s" && ' "${VSCE_PERSONAL_ACCESS_TOKEN}" | sed 's/ && $//')&&[ -n "$cmd" ] && eval "$cmd" && echo "SUCCESSFULLY published"
cmd=$(find . -type f -name "*.vsix" -print0 | xargs -0 -I {} printf 'npx vsce publish --skip-duplicate --pat "%s" --packagePath "%s" && ' "${VSCE_PERSONAL_ACCESS_TOKEN}" '{}' | sed 's/ && $//')&&[ -n "$cmd" ] && eval "$cmd" && echo "SUCCESSFULLY published"
ctcCloseSuccess:
needs: [ctc-open, publish]
Expand Down

0 comments on commit 8b61c30

Please sign in to comment.