Skip to content

github release workflow #2

github release workflow

github release workflow #2

Workflow file for this run

name: Build/release

Check failure on line 1 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
release:
runs-on: linux-latest
release-lnx:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Dependencies
run: 'npm install'
- name: Build
run: 'npm run build_vue;npm run build_plugin'
- name: Define VSIX file name
id: vsix_name
run: echo "VSIX_NAME=arc-vs-code-${GITHUB_REF##*/}.vsix" >> $GITHUB_ENV
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref }}
files: ${{ env.VSIX_NAME }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}