fix params

This commit is contained in:
2025-06-21 13:00:28 +02:00
parent 8f123c941f
commit b8f857a860

View File

@ -1,9 +1,9 @@
name: "Make SRCINFO"
description: "Generate .SRCINFO file from PKGBUILD"
inputs:
pkgbuild-file:
pkgbuild-path:
description: "Path to PKGBUILD file"
srcinfo-file:
srcinfo-path:
description: "Path to .SRCINFO file to be created"
default: ".SRCINFO"
outputs:
@ -16,8 +16,8 @@ runs:
shell: bash
run: "./mksrcinfo.sh $PKGBUILD_PATH > $SRCINFO_PATH"
env:
PKGBUILD_PATH: ${{ inputs.pkgbuild-file }}
SRCINFO_PATH: ${{ inputs.srcinfo-file }}
PKGBUILD_PATH: ${{ inputs.pkgbuild-path }}
SRCINFO_PATH: ${{ inputs.srcinfo-path }}
- name: "Get version"
shell: bash
run: "grep 'pkgver = ' $SRCINFO_PATH | sed 's/ = /=/' >> $GITHUB_OUTPUT"