Skip to content

Bump version

Bump version #17

Workflow file for this run

name: release
# runs when a tag v* is pushed
# creates a release draft with the binaries
on:
push:
tags: ["v*"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: yarn install --frozen-lockfile
- uses: lannonbr/vsce-action@master
with:
args: "package"
- name: Identify output file # can be retrieved as steps.filenames.outputs.file_out
id: filenames
run: echo "file_out=$(ls | grep "\.vsix$" | head -1)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.filenames.outputs.file_out }}
path: ${{ steps.filenames.outputs.file_out }}
release:
name: Release
timeout-minutes: 30
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: "artifacts/"
- name: Get version from tag
id: get_version
run: echo "version=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT
- name: Create release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
files: "artifacts/*/*"
prerelease: false
draft: false