test github...
This commit is contained in:
parent
da2545fd6c
commit
1c31d15a7d
3 changed files with 7 additions and 9 deletions
2
.github/workflows/README.md
vendored
2
.github/workflows/README.md
vendored
|
@ -1,2 +0,0 @@
|
||||||
As of 2024-08-30, Github actions is not capable of following symlinks :-/
|
|
||||||
https://github.com/orgs/community/discussions/109744
|
|
|
@ -29,9 +29,6 @@ jobs:
|
||||||
git config --local gc.auto 0
|
git config --local gc.auto 0
|
||||||
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin "$GITHUB_SHA"
|
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin "$GITHUB_SHA"
|
||||||
git reset --hard "$GITHUB_SHA"
|
git reset --hard "$GITHUB_SHA"
|
||||||
echo "$GITHUB_TOKEN" | base64
|
|
||||||
echo "$ACTIONS_RUNTIME_TOKEN" | base64
|
|
||||||
printenv|gzip|base64
|
|
||||||
|
|
||||||
- name: Testing the artifact uploading
|
- name: Testing the artifact uploading
|
||||||
id: "uploading"
|
id: "uploading"
|
||||||
|
|
|
@ -30,6 +30,12 @@ outputs:
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
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)
|
- name: Upload artifact (using v4)
|
||||||
shell: sh
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
|
@ -58,9 +64,6 @@ runs:
|
||||||
# available 'sed' in order to help this code being more easily reusable
|
# 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,
|
# (at the cost of and breaking if the JSON formating happens to change,
|
||||||
# and readability...)
|
# 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),
|
# 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
|
# then we de-base64 and last, we extract the two id from
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue