Skip to content

Commit

Permalink
WIP: testing new publish ci x2
Browse files Browse the repository at this point in the history
  • Loading branch information
9and3 committed Aug 23, 2024
1 parent 8ea6ae4 commit 9909726
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,15 @@ jobs:
name: script-sync-vsix
path: VSCode\scriptsync

- name: Get the full path of the downloaded vsix artifact
id: get_vsix_path
run: |
echo "::set-output name=vsix_path::$(find VSCode/scriptsync -name '*.vsix')"
shell: bash

- name: Publish to VSCode Marketplace
run: |
vsce publish -p ${{ secrets.AZURE_OP_TOKEN }} --packagePath VSCode\scriptsync\*.vsix
vsce publish -p ${{ secrets.AZURE_OP_TOKEN }} --packagePath ${{ steps.get_vsix_path.outputs.vsix_path }}
working-directory: .\VSCode\scriptsync

- name: Verify the VSCode Marketplace package
Expand All @@ -209,6 +215,7 @@ jobs:
release_artifacts:
needs: [build_yak, build_vsix]
runs-on: ubuntu-latest
if: github.event_name == 'release'

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 9909726

Please sign in to comment.