test github...

This commit is contained in:
Chl 2024-08-30 03:25:08 +02:00
parent da2545fd6c
commit 1c31d15a7d
3 changed files with 7 additions and 9 deletions

View file

@ -1,2 +0,0 @@
As of 2024-08-30, Github actions is not capable of following symlinks :-/
https://github.com/orgs/community/discussions/109744

View file

@ -29,9 +29,6 @@ jobs:
git config --local gc.auto 0
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin "$GITHUB_SHA"
git reset --hard "$GITHUB_SHA"
echo "$GITHUB_TOKEN" | base64
echo "$ACTIONS_RUNTIME_TOKEN" | base64
printenv|gzip|base64
- name: Testing the artifact uploading
id: "uploading"
@ -49,7 +46,7 @@ jobs:
- name: Check the content of the uploaded artifact
run: |
# Stop at first error and be verbose
# Stop at first error and be verbose
set -ex
# Create some temporary files/directory

View file

@ -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