Skip to content

Commit

Permalink
maint: fix release workflow file (#20)
Browse files Browse the repository at this point in the history
I hate yml, btw
  • Loading branch information
gamebox authored Jan 9, 2024
1 parent d8006bd commit 3d733d6
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@ on:
push:
tags:
- '*'
jobs:
build:
name: Build vscode extension
runs-on: ubuntu-latest
steps:
- name: setup node
uses: actions/setup-node@v4
- 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: upload artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./gwirl-vscode-${{ github.ref }}.vsix
asset_name: gwirl-vscode-${{ github.ref }}.vsix
asset_content_type: application/zip
jobs:
build:
name: Build vscode extension
runs-on: ubuntu-latest
steps:
- name: setup node
uses: actions/setup-node@v4
- 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: upload artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./gwirl-vscode-${{ github.ref }}.vsix
asset_name: gwirl-vscode-${{ github.ref }}.vsix
asset_content_type: application/zip

0 comments on commit 3d733d6

Please sign in to comment.