Skip to content

cleaned up & fixed forntend api #8

cleaned up & fixed forntend api

cleaned up & fixed forntend api #8

Workflow file for this run

on:
push:
branches:
- master
pull_request_target:
branches: ['*']
jobs:
build:
name: Build plugin
runs-on: ubuntu-latest
steps:
- name: Checkout
if: ${{ !env.ACT }}
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.5.1
- name: Download Decky CLI
run: |
mkdir /tmp/decky-cli
curl -L -o /tmp/decky-cli/decky "https://github.com/SteamDeckHomebrew/cli/releases/download/0.0.1-alpha.12/decky"
chmod +x /tmp/decky-cli/decky
echo "/tmp/decky-cli" >> $GITHUB_PATH
- name: Build plugins
run: |
echo "::group::Building plugin MicroSDeck"
# Run the CLI as root to get around Docker's weird permissions
sudo $(which decky) plugin build -b -o /tmp/output -s directory .
sudo chown -R $(whoami) .
echo "::endgroup::"
- name: Upload Artifacts to Github
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v3
with:
name: "MicroSDeck"
path: /tmp/output/MicroSDeck.zip