Upgrade to LiaScript 0.16.4 #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
tags: | |
- '*' | |
name: Create Release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Extract Tag Number | |
id: tag | |
run: echo "::set-output name=tag_number::$(echo ${{ github.ref }} | sed -e 's/refs\/tags\///g')" | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Building Package | |
run: | | |
npm install -g vsce | |
npm install -g tsc | |
npm install | |
npm run pack | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: Release ${{ github.ref }} | |
body: | | |
Download the liascript-preview below ... | |
draft: false | |
prerelease: false | |
- name: Upload Asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: ./liascript-preview-web-${{ steps.tag.outputs.tag_number }}.vsix | |
asset_name: liascript-preview-web-${{ steps.tag.outputs.tag_number }}.vsix | |
asset_content_type: application/zip |