Skip to content

Merge pull request #38 from docker/cm/da-big-1 #4

Merge pull request #38 from docker/cm/da-big-1

Merge pull request #38 from docker/cm/da-big-1 #4

Workflow file for this run

name: Build extension on release
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Set up Node.js"
uses: actions/setup-node@v2
with:
node-version: "20"
- name: "Install dependencies"
run: npm install
- name: "Build extension"
run: npm run package
- name: upload vsix
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: *.vsix

Check failure on line 30 in .github/workflows/build-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-release.yml

Invalid workflow file

You have an error in your yaml syntax on line 30
asset_name: ${{ github.event.release.tag_name }}.vsix
asset_content_type: application/vsix