mirror of
https://github.com/GeorgeSG/lovelace-time-picker-card.git
synced 2026-09-06 02:18:44 +00:00
25 lines
492 B
YAML
25 lines
492 B
YAML
name: Release
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
release:
|
|
name: Build and upload
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build time-picker-card.js
|
|
run: |
|
|
npm install
|
|
npm run build
|
|
|
|
- name: Upload to release
|
|
uses: shopify/upload-to-release@1.0.0
|
|
with:
|
|
name: time-picker-card.js
|
|
path: dist/time-picker-card.js
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|