Self CI/CD with download of the artifact
All checks were successful
/ GenerateReleaseZipfile (push) Successful in 1m10s
All checks were successful
/ GenerateReleaseZipfile (push) Successful in 1m10s
This commit is contained in:
parent
c2d7e3d9bc
commit
705e2d717c
3 changed files with 41 additions and 5 deletions
|
@ -62,8 +62,8 @@ steps:
|
|||
- name: Simple checkout
|
||||
run: |
|
||||
git init
|
||||
GITHUB_AUTHENTICATED_URL="$( echo "$GITHUB_SERVER_URL" | sed "s#^\(https\?://\)#\1$GITHUB_TOKEN\@#" )"
|
||||
git remote add origin "$GITHUB_AUTHENTICATED_URL"/"$GITHUB_REPOSITORY"
|
||||
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue