From 17f9610281213aad1c77d24e216b42e3143a20b9 Mon Sep 17 00:00:00 2001 From: Chl Date: Sat, 31 Aug 2024 15:24:08 +0200 Subject: [PATCH] Stopping the mixing -> clear separation Forgejo/Github 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. --- .forgejo/workflows/generate-release-zipfile.yml | 6 +++--- .github/workflows/generate-release-zipfile.yml | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/generate-release-zipfile.yml b/.forgejo/workflows/generate-release-zipfile.yml index aa310b4..1244e55 100644 --- a/.forgejo/workflows/generate-release-zipfile.yml +++ b/.forgejo/workflows/generate-release-zipfile.yml @@ -1,9 +1,7 @@ on: push: branches: - # Difference between Github and Forgejo : with the former, an empty - # 'branches' key means "nothing" while the later understands it as "all". - - '*' + - 'v4' jobs: GenerateReleaseZipfile: @@ -58,6 +56,8 @@ jobs: # 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\@#" )" wget -O "$DOWNLOAD_FILE" "$MY_AUTHENTICATED_URL" + + # unzip and check unzip "$DOWNLOAD_FILE" sha256sum -c "$SHASUM_FILE" diff --git a/.github/workflows/generate-release-zipfile.yml b/.github/workflows/generate-release-zipfile.yml index f623648..d5bbfc1 100644 --- a/.github/workflows/generate-release-zipfile.yml +++ b/.github/workflows/generate-release-zipfile.yml @@ -1,9 +1,7 @@ on: push: branches: - # Difference between Github and Forgejo : with the former, an empty - # 'branches' key means "nothing" while the later understands it as "all". - #- '*' + - 'v4-github' jobs: GenerateReleaseZipfile: