Skip to content

2.0.3

2.0.3 #8

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
release:
name: Prepare release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Build the file
run: |
npm install
npm version --git-tag-version=false --commit-hooks=false "${{ github.event.release.tag_name }}"
npm run build
- name: Upload build result to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/lg-remote-control.js
asset_name: lg-remote-control.js
tag: ${{ github.ref }}
overwrite: true