-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,42 +143,32 @@ jobs: | |
with: | ||
node-version: '14' | ||
|
||
- 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 VSCE | ||
# run: npm install -g vsce | ||
- name: Install VSCE | ||
run: npm install -g vsce | ||
|
||
# - name: Install TypeScript | ||
# run: npm install -g typescript | ||
- name: Install TypeScript | ||
run: npm install -g typescript | ||
|
||
# - name: Install dependencies | ||
# run: | | ||
# npm install | ||
# npm install @types/vscode | ||
# npm install @types/jest --save-dev | ||
- name: Install dependencies | ||
run: | | ||
npm install | ||
npm install @types/vscode | ||
npm install @types/jest --save-dev | ||
# - name: Download artifact | ||
# uses: actions/download-artifact@v2 | ||
# with: | ||
# name: script-sync | ||
# path: VSCode\scriptsync | ||
- name: Download artifact | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: script-sync | ||
path: VSCode\scriptsync | ||
|
||
# - name: Publish to VSCode Marketplace | ||
# run: | | ||
# vsce publish -p ${{ secrets.AZURE_OP_TOKEN }} | ||
# working-directory: VSCode\scriptsync | ||
- 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 | ||
- name: Verify the VSCode Marketplace package | ||
run: | | ||
vsce show ibois-epfl.script-sync | ||