fix(pi): settings don't get auto-populated #150
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: CI-CD | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
TestAndDeploy: | |
runs-on: windows-latest | |
steps: | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
with: | |
path: './' | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: npm install | |
- name: release-please | |
uses: google-github-actions/release-please-action@v4 | |
id: release | |
with: | |
target-branch: master | |
# - name: Run build | |
# run: npm run build | |
# | |
# - name: Create distribution folder | |
# run: | | |
# mkdir fun.shiro.ytmd.sdPlugin | |
# copy sdpi.css fun.shiro.ytmd.sdPlugin\ | |
# copy manifest.json fun.shiro.ytmd.sdPlugin\ | |
# copy property-inspector.html fun.shiro.ytmd.sdPlugin\ | |
# copy action.html fun.shiro.ytmd.sdPlugin\ | |
# copy bundle.js fun.shiro.ytmd.sdPlugin\ | |
# copy bundle-pi.js fun.shiro.ytmd.sdPlugin\ | |
# copy icons fun.shiro.ytmd.sdPlugin -Recurse | |
# | |
# - name: Download Stream Deck Distribution Tool | |
# uses: carlosperate/[email protected] | |
# with: | |
# file-url: https://developer.elgato.com/documentation/stream-deck/distributiontool/DistributionToolWindows.zip | |
# file-name: distribution-tool.zip | |
# | |
# - name: Unzip Stream Deck Distribution Tool | |
# run: tar -xf .\distribution-tool.zip | |
# | |
# - name: Validate plugin and build .streamDeckPlugin file | |
# run: ./DistributionTool.exe -b -i fun.shiro.ytmd.sdPlugin -o ./ | |
# | |
# - name: Upload Release Artifact | |
# if: ${{ steps.release.outputs.release_created }} | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# run: gh release upload ${{ steps.release.outputs.tag_name }} ./fun.shiro.ytmd.streamDeckPlugin --clobber |