This commit is contained in:
2025-10-29 00:37:55 -05:00
parent db5c93bd80
commit 69bc1af9df

View File

@@ -1,6 +1,14 @@
name: Publish package
description: build and publish an Arch package
inputs:
username:
description: 'Gitea username'
required: true
token:
description: 'Gitea PAT'
required: true
runs:
using: "composite"
steps:
@@ -31,7 +39,7 @@ runs:
- name: sanity check
shell: bash
run: |
if [ -z "${{ secrets.USERNAME }}" ]; then
if [ -z "${{ inputs.username }}" ]; then
echo "❌ Secret not set!"
exit 1
else
@@ -41,5 +49,5 @@ runs:
- name: Build package
uses: https://git.sanin.dev/packages_test/build-publish/@build
with:
username: "${{ secrets.USERNAME }}"
token: ${{ secrets.TOKEN }}
username: "${{ inputs.username }}"
token: ${{ inputs.token }}