add advanced option for apu-slow-limit #143
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dev | |
permissions: | |
contents: write | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "dev" | |
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@v4 | |
- name: build plugin | |
run: | | |
npm i -g pnpm | |
pnpm install --no-frozen-lockfile | |
pnpm run build | |
tar -czvf SimpleDeckyTDP.tar.gz --transform 's,^,SimpleDeckyTDP/,' dist py_modules bin ota_update.sh *.py *.json *.md *.js LICENSE | |
continue-on-error: true | |
- name: show files | |
run: | | |
tar -tzvf SimpleDeckyTDP.tar.gz | |
- name: Publish Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: SimpleDeckyTDP | |
path: SimpleDeckyTDP.tar.gz |