Update main.yml
This commit is contained in:
Родитель
1c04af867a
Коммит
e707a0e2c6
|
@ -26,7 +26,15 @@ jobs:
|
|||
node-version: '12'
|
||||
check-latest: true
|
||||
|
||||
# Runs a single command using the runners shell
|
||||
- name: Update the package version
|
||||
uses: jacobtomlinson/gha-find-replace@master
|
||||
with:
|
||||
find: "\"version\": \"(\\d+\\.\\d+\\.\\d+)\""
|
||||
replace: "\"version\": \"$1-${{ steps.get-short-sha.outputs.sha }}\""
|
||||
include: "package.json"
|
||||
exclude: ".git"
|
||||
|
||||
# Runs a single command using the runners shell
|
||||
- name: Build the VSIX
|
||||
run: |
|
||||
yarn install
|
||||
|
|
Загрузка…
Ссылка в новой задаче