Skip to content

Add copy command to table of commands #6

Add copy command to table of commands

Add copy command to table of commands #6

Workflow file for this run

name: Package Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
name: Package Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/[email protected]
- name: Node Setup
uses: actions/[email protected]
with:
node-version: '18'
- name: Setup Environment
run: node -e "let pkg = require('./package.json'); console.log('PACKAGE_VERSION=' + pkg.version + '\nPACKAGE_NAME=' + pkg.name + '-' + pkg.version)" >> $GITHUB_ENV
- name: Install Dependencies
run: npm install
- name: Package Extension
run: npm run release
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
name: v${{ env.PACKAGE_VERSION }}
draft: false
prerelease: false
files: ./${{ env.PACKAGE_NAME }}.vsix