Skip to content

Changes

Changes #62

Workflow file for this run

name: main
# builds the .vsix file on each push, PR
on: [push, pull_request]
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 }}