Stopping the mixing -> clear separation Forgejo/Github
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:
Chl 2024-08-31 15:24:08 +02:00
parent 67ac8517db
commit 17f9610281
Signed by: chl
GPG key ID: 80012B734F21B934
2 changed files with 4 additions and 6 deletions

View file

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

View 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: