Changes #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
# builds the .vsix file on each push, PR | |
# runs a linter on each push, PR | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- 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 "::set-output name=file_out::$(ls | grep "\.vsix$" | head -1)" | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: ${{ steps.filenames.outputs.file_out }} | |
path: ${{ steps.filenames.outputs.file_out }} |