feat: add architecture option

This commit is contained in:
Léana 江 2024-03-04 19:20:50 +01:00
parent 93cfaf8d53
commit 2a90b19ec8
No known key found for this signature in database
GPG key ID: 4E887A4CA9714ADA
2 changed files with 6 additions and 1 deletions

View file

@ -38,6 +38,9 @@ inputs:
prerelease:
description: 'Mark Release as Pre-Release'
default: 'false'
architecture:
description: 'Set the architecture of the runner on which the action executes'
default: amd64
runs:
using: "composite"
@ -93,5 +96,7 @@ runs:
echo -n "${{ inputs.gpg-passphrase }}" > $TMP_DIR/gpg-passphrase
export GPG_PASSPHRASE="$TMP_DIR/gpg-passphrase"
export ARCH="${{ inputs.architecture }}"
forgejo-release.sh ${{ inputs.direction }}
shell: bash