Skip to content

Release

Release #4

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
tags:
- 'v*.*.*'
jobs:
build_plugin:
runs-on: ubuntu-latest
container:
image: archlinux:latest
steps:
- name: set git global safe directory
run: |
pacman -Syu git npm --noconfirm
git config --global --add safe.directory $(realpath .)
- uses: actions/checkout@v3
- name: build plugin
run: |
npm i -g [email protected]
pnpm install --no-frozen-lockfile
pnpm update decky-frontend-lib --latest
pnpm run build
tar -czvf PowerControl.tar.gz --transform 's,^,PowerControl/,' dist backend bin *.py *.json *.md *.js LICENSE
- name: show files
run: |
tar -tzvf PowerControl.tar.gz