Skip to content

v2.5.10 - Visual Editor Fixes #24

v2.5.10 - Visual Editor Fixes

v2.5.10 - Visual Editor Fixes #24

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
release:
name: Prepare release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
#Building the Js-File
- name: Build the file
run: |
cd /home/runner/work/power-distribution-card/power-distribution-card
yarn 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/power-distribution-card/power-distribution-card/dist/power-distribution-card.js
asset_name: power-distribution-card.js
tag: ${{ github.ref }}
overwrite: true