Skip to content

Create a new release #7

Create a new release

Create a new release #7

Workflow file for this run

name: "Create a new release"
on:
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref_name }}
- name: Install dependencies
run: |
npm ci
- name: Lint & Compile
run: |
npm run lint
npm run compile
- name: Create tarball
run: tar -czf vscode-eslint-${{ github.ref_name }}.tar.gz --exclude="vscode-eslint-${{ github.ref_name }}.tar.gz" .
- name: Release
uses: softprops/action-gh-release@v2
with:
files: vscode-eslint-${{ github.ref_name }}.tar.gz
tag_name: ${{ github.ref_name }}
if: startsWith(github.ref, 'refs/tags/')