Skip to content

Release 0.91

Release 0.91 #12

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
# Build
- name: Build the file
run: |
cd /home/runner/work/canvas-gauge-card/canvas-gauge-card
npm install
npm run build
# Upload build file to the releas as an asset.
- name: Upload zip to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /home/runner/work/canvas-gauge-card/canvas-gauge-card/dist/canvas-gauge-card.js
asset_name: canvas-gauge-card.js
tag: ${{ github.ref }}
overwrite: true