Skip to content

chore: fix aur action #2

chore: fix aur action

chore: fix aur action #2

Workflow file for this run

name: Publish to AUR
on:
push:
branches:
- main
- alpha
workflow_call:
inputs:
version:
description: "Release version"

Check failure on line 11 in .github/workflows/release-aur.yml

View workflow run for this annotation

GitHub Actions / Publish to AUR

Invalid workflow file

The workflow is not valid. .github/workflows/release-aur.yml (Line: 11, Col: 9): Required property is missing: type
required: true
workflow_dispatch:
inputs:
version:
description: "Release version"
required: true
jobs:
release-aur:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Publish to AUR
run: pnpm publish:aur --version ${{ inputs.version }}
env:
AUR_SSH_KEY: ${{ secrets.AUR_SSH_KEY }}