From 69bc1af9df432b63d5a2a62a5369293c6f5084bf Mon Sep 17 00:00:00 2001 From: Cory Sanin Date: Wed, 29 Oct 2025 00:37:55 -0500 Subject: [PATCH] inputs --- action.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index eb7496b..007e189 100644 --- a/action.yml +++ b/action.yml @@ -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 }}