mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2025-07-06 07:43:44 +00:00
set token from FORGEJO_TOKEN in the test environment
This commit is contained in:
parent
cb070c9a96
commit
25027fcba8
3 changed files with 6 additions and 4 deletions
|
@ -52,10 +52,10 @@ runs:
|
|||
export DOER="${{ inputs.doer }}"
|
||||
export TOKEN="${{ inputs.token }}"
|
||||
if test -z "$TOKEN"; then
|
||||
export TOKEN="${{ github.token }}"
|
||||
export TOKEN="${{ secrets.GITHUB_TOKEN }}"
|
||||
fi
|
||||
if test -z "$TOKEN"; then
|
||||
export TOKEN="${{ secrets.GITHUB_TOKEN }}"
|
||||
export TOKEN="${{ github.token }}"
|
||||
fi
|
||||
test "$TOKEN"
|
||||
export RELEASE_DIR="${{ inputs.release-dir }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue