Skip to content

Bump tar-fs from 2.1.1 to 2.1.2 #42

Bump tar-fs from 2.1.1 to 2.1.2

Bump tar-fs from 2.1.1 to 2.1.2 #42

Workflow file for this run

name: Build and publish
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install dependencies
run: npm install
- name: Package extension
run: npm run package
- name: Publish extension
if: startsWith(github.ref, 'refs/tags/')
run: npm run publish -- -p "$VSCE_TOKEN"
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
- name: Prepare changelog
id: changelog
run: |
VERSION=$(node --eval "process.stdout.write(require('./package.json').version)")
echo "::set-output name=version::$VERSION"
./changelog-for-version.js $VERSION > build/changes-$VERSION.txt
- name: Archive production artifacts
uses: actions/upload-artifact@v1
with:
name: vscode-extension
path: build/
- name: Update release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
name: Tagger Script Syntax ${{ steps.changelog.outputs.version }}
body_path: build/changes-${{ steps.changelog.outputs.version }}.txt
files: build/*.vsix
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}