Stopping the mixing -> clear separation Forgejo/Github
All checks were successful
/ GenerateReleaseZipfile (push) Successful in 1m15s
All checks were successful
/ GenerateReleaseZipfile (push) Successful in 1m15s
This action is even less useful in Github than in Forgejo/Gitea so let's stop wasting time and clearly label with a suffix 'v4.x.y-github' for Github.
This commit is contained in:
parent
67ac8517db
commit
17f9610281
2 changed files with 4 additions and 6 deletions
|
@ -1,9 +1,7 @@
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
# Difference between Github and Forgejo : with the former, an empty
|
- 'v4'
|
||||||
# 'branches' key means "nothing" while the later understands it as "all".
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
GenerateReleaseZipfile:
|
GenerateReleaseZipfile:
|
||||||
|
@ -58,6 +56,8 @@ jobs:
|
||||||
# In case the repository becomes private, we add our GITHUB_TOKEN to the artifact-url.
|
# In case the repository becomes private, we add our GITHUB_TOKEN to the artifact-url.
|
||||||
MY_AUTHENTICATED_URL="$( echo "${{ steps.uploading.outputs.artifact-url }}" | sed "s#^\(https\?://\)#\1$GITHUB_TOKEN\@#" )"
|
MY_AUTHENTICATED_URL="$( echo "${{ steps.uploading.outputs.artifact-url }}" | sed "s#^\(https\?://\)#\1$GITHUB_TOKEN\@#" )"
|
||||||
wget -O "$DOWNLOAD_FILE" "$MY_AUTHENTICATED_URL"
|
wget -O "$DOWNLOAD_FILE" "$MY_AUTHENTICATED_URL"
|
||||||
|
|
||||||
|
# unzip and check
|
||||||
unzip "$DOWNLOAD_FILE"
|
unzip "$DOWNLOAD_FILE"
|
||||||
sha256sum -c "$SHASUM_FILE"
|
sha256sum -c "$SHASUM_FILE"
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
# Difference between Github and Forgejo : with the former, an empty
|
- 'v4-github'
|
||||||
# 'branches' key means "nothing" while the later understands it as "all".
|
|
||||||
#- '*'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
GenerateReleaseZipfile:
|
GenerateReleaseZipfile:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue