mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2026-02-06 15:58:09 +00:00
feat: allow skipping assets
This commit is contained in:
parent
f5b4441975
commit
e75cfe89a2
3 changed files with 12 additions and 5 deletions
|
|
@ -23,7 +23,7 @@ inputs:
|
|||
default: '${{ forge.token }}'
|
||||
release-dir:
|
||||
description: 'Directory in whichs release assets are uploaded or downloaded'
|
||||
required: true
|
||||
default: ''
|
||||
release-notes:
|
||||
description: 'Release notes'
|
||||
direction:
|
||||
|
|
@ -53,6 +53,9 @@ inputs:
|
|||
hide-archive-link:
|
||||
description: 'Hide the archive links'
|
||||
default: false
|
||||
skip-assets:
|
||||
description: Skip uploading release assets
|
||||
default: 'false'
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
|
|
@ -113,5 +116,7 @@ runs:
|
|||
echo -n "${{ inputs.gpg-passphrase }}" > $TMP_DIR/gpg-passphrase
|
||||
export GPG_PASSPHRASE="$TMP_DIR/gpg-passphrase"
|
||||
|
||||
export SKIP_ASSETS="${{ inputs.skip-assets }}"
|
||||
|
||||
forgejo-release.sh ${{ inputs.direction }}
|
||||
shell: bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue