Skip to content

Commit

Permalink
WIP: testing CI for vsce DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
9and3 committed Apr 16, 2024
1 parent 3b9efd7 commit 50e4e4b
Showing 1 changed file with 32 additions and 22 deletions.
54 changes: 32 additions & 22 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:

publish_vsix:
needs: build_vsix
runs-on: windows-latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
Expand All @@ -143,32 +143,42 @@ jobs:
with:
node-version: '14'

- name: Install VSCE
run: npm install -g vsce
- name: Install dependencies
run: npm install
- name: Publish to VSCode Marketplace
run: cd VSCode/scriptsync
- uses: lannonbr/[email protected]
with:
args: "publish -p $VSCE_TOKEN"
env:
VSCE_TOKEN: ${{ secrets.AZURE_OP_TOKEN }}

- name: Install TypeScript
run: npm install -g typescript
# - name: Install VSCE
# run: npm install -g vsce

- name: Install dependencies
run: |
npm install
npm install @types/vscode
npm install @types/jest --save-dev
# - name: Install TypeScript
# run: npm install -g typescript

- name: Download artifact
uses: actions/download-artifact@v2
with:
name: script-sync
path: VSCode\scriptsync
# - name: Install dependencies
# run: |
# npm install
# npm install @types/vscode
# npm install @types/jest --save-dev

- name: Publish to VSCode Marketplace
run: |
vsce publish -p ${{ secrets.AZURE_OP_TOKEN }}
working-directory: VSCode\scriptsync
# - name: Download artifact
# uses: actions/download-artifact@v2
# with:
# name: script-sync
# path: VSCode\scriptsync

- name: Verify the VSCode Marketplace package
run: |
vsce show ibois-epfl.script-sync
# - name: Publish to VSCode Marketplace
# run: |
# vsce publish -p ${{ secrets.AZURE_OP_TOKEN }}
# working-directory: VSCode\scriptsync

# - name: Verify the VSCode Marketplace package
# run: |
# vsce show ibois-epfl.script-sync



0 comments on commit 50e4e4b

Please sign in to comment.