Update generate-release-zipfile.yml
This commit is contained in:
parent
a5a6142bd5
commit
5be7ece8a0
1 changed files with 10 additions and 0 deletions
10
.github/workflows/generate-release-zipfile.yml
vendored
10
.github/workflows/generate-release-zipfile.yml
vendored
|
@ -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: ./
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue