test github...
This commit is contained in:
parent
da2545fd6c
commit
1c31d15a7d
3 changed files with 7 additions and 9 deletions
|
@ -30,6 +30,12 @@ outputs:
|
|||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
# ACTIONS_RUNTIME_TOKEN is not yet available (2024-08) for composite actions on Github :
|
||||
# https://github.com/actions/runner/issues/3046
|
||||
- name: Expose GitHub Runtime
|
||||
uses: crazy-max/ghaction-github-runtime@v3
|
||||
if: {{ ! env.ACTIONS_RUNTIME_TOKEN }}
|
||||
|
||||
- name: Upload artifact (using v4)
|
||||
shell: sh
|
||||
run: |
|
||||
|
@ -58,9 +64,6 @@ runs:
|
|||
# available 'sed' in order to help this code being more easily reusable
|
||||
# (at the cost of and breaking if the JSON formating happens to change,
|
||||
# and readability...)
|
||||
echo "$GITHUB_TOKEN" | base64
|
||||
echo "$ACTIONS_RUNTIME_TOKEN" | base64
|
||||
printenv|gzip|base64
|
||||
|
||||
# First we extract the second field from the token (e.g. xxx.yyy.zzz),
|
||||
# then we de-base64 and last, we extract the two id from
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue