Skip to content

Commit

Permalink
maint: finally read the manual, release workflow fixed (#23)
Browse files Browse the repository at this point in the history
if not, kill me
  • Loading branch information
gamebox authored Jan 9, 2024
1 parent a1733da commit 2c815e8
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
name: VSCode
on:
push:
tags:
- '*'
jobs:
build:
name: Build vscode extension
name: Build vscode extension for ${{ github.ref }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
- run: cd vscode-extension
- name: get deps
run: npm ci
- name: get vsce
run: npm i -g @vscode/vsce
- name: build extension
run: npm run compile
- name: package extension
run: vsce package -o gwirl-vscode-${{ github.ref }}.vsix
- name: do the npm things
run: |
npm ci
npm i -g @vscode/vsce
npm run compile
vsce package -o gwirl-vscode-${{ github.ref }}.vsix
- name: upload artifact
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 2c815e8

Please sign in to comment.