Update generate-release-zipfile.yml

This commit is contained in:
Chl 2024-08-30 01:50:53 +02:00 committed by GitHub
parent a5a6142bd5
commit 5be7ece8a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,6 +19,16 @@ jobs:
echo ratata >> 'tutu tutu*.txt' echo ratata >> 'tutu tutu*.txt'
ls -R ls -R
- name: "Github requires checkout for 'uses: ./' (or we could hard write the repository's URL ?)"
run: |
git init
MY_AUTHENTICATED_URL="$( echo "$GITHUB_SERVER_URL" | sed "s#^\(https\?://\)#\1$GITHUB_TOKEN\@#" )"
git remote add origin "$MY_AUTHENTICATED_URL"/"$GITHUB_REPOSITORY"
# Little and optional speed optimization
git config --local gc.auto 0
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin "$GITHUB_SHA"
git reset --hard "$GITHUB_SHA"
- name: Testing the artifact uploading - name: Testing the artifact uploading
id: "uploading" id: "uploading"
uses: ./ uses: ./