use dpkg --print-architecture

This commit is contained in:
Léana 江 2024-05-12 00:25:34 +02:00
parent cc259da0cb
commit 1f75309ffd
No known key found for this signature in database
GPG key ID: 4E887A4CA9714ADA
3 changed files with 1 additions and 6 deletions

View file

@ -38,9 +38,6 @@ 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"
@ -96,7 +93,5 @@ 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