-
-
Notifications
You must be signed in to change notification settings - Fork 58
30 lines (29 loc) · 918 Bytes
/
vscode-extension.release.yml
File metadata and controls
30 lines (29 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Publish VSCode Extension
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v2
-
uses: actions/setup-node@v2
with:
node-version: 14.x
# @todo https://github.com/actions/setup-node/pull/299
# cache: 'yarn'
-
run: yarn install
working-directory: ./src/vscode-extension/drupalpod-ext
# @todo bump the version with each DrupalPod release automatically?
# This will mean the release doesn't have the new version in repos?
# -
# run: yarn version --new-version ${{ github.event.release.tag_name }}
# working-directory: ./src/vscode-extension/drupalpod-ext
#-
# run: git push origin
-
run: npm run ovsx publish -p ${{ secrets.OVSX_TOKEN }}
working-directory: ./src/vscode-extension/drupalpod-ext