Skip to content

oops

oops #11

Workflow file for this run

name: Release
on:
push:
tags:
- "*"
env:
DASHBOARD_VERSION: latest # replace with tag aka: "tags/v1.2.0"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm run build
- run: npm ci
working-directory: extension
- run: zip -r ${{ github.event.repository.name }}.zip graphics extension package.json LICENSE
- uses: svenstaro/upload-release-action@v2
with:
file: "${{ github.event.repository.name }}.zip"
overwrite: true
- uses: dsaltares/fetch-gh-release-asset@master
with:
repo: cq-overlays/dashboard
version: ${{ env.DASHBOARD_VERSION }}
file: cq-nodecg.zip
- run: unzip cq-nodecg.zip
- run: mkdir nodecg/bundles/${{ github.event.repository.name }}
- run: cp -r graphics extension package.json LICENSE nodecg/bundles/${{ github.event.repository.name }}
- run: zip -r ${{ github.event.repository.name }}-nodecg.zip nodecg/
- uses: svenstaro/upload-release-action@v2
with:
file: "${{ github.event.repository.name }}-nodecg.zip"
overwrite: true