Skip to content

Commit

Permalink
feat: use semantic release version as the plugin version
Browse files Browse the repository at this point in the history
  • Loading branch information
shaimendel committed Apr 3, 2020
1 parent 1876fed commit f6a48d0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- name: Install dependencies
run: npm install
- name: Release
id: semantic_release
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -46,20 +47,19 @@ jobs:
publish:
name: Publish
needs: release
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: npm install
uses: actions/npm@master
with:
args: install --unsafe-perm
- name: Master
uses: actions/bin/filter@master
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
args: branch master
node-version: 12
- name: Install dependencies
run: npm install
- name: Vscode release plugin
uses: JCofman/vscodeaction@master
env:
PUBLISHER_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
with:
args: publish -p $PUBLISHER_TOKEN
args: publish -p $PUBLISHER_TOKEN ${{ steps.semantic_release.outputs.new_release_version }}

0 comments on commit f6a48d0

Please sign in to comment.