aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJoakim Lindqvist <[email protected]>2024-11-28 13:12:50 +0100
committerGitHub Enterprise <[email protected]>2024-11-28 13:12:50 +0100
commitb077919f5dd745435dc670118b0f3c7b9bcaf796 (patch)
tree213f60ee5da374796b76b53e3047564a5d92bf81 /.github/workflows
parent5.5.14 (diff)
downloadzen-b077919f5dd745435dc670118b0f3c7b9bcaf796.tar.xz
zen-b077919f5dd745435dc670118b0f3c7b9bcaf796.zip
Fixed release mirror on new release (#243)
By removing the minimal version we set (as this is exclusive meaning it would not replicate the current release). As such we cant guarantee that the replication takes the current release so we replicate a few releases. Also fixed the display name of the step when manually running the release mirroring.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/create_release.yml10
-rw-r--r--.github/workflows/mirror_releases.yml2
2 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml
index 0d2c5a986..7f934a71d 100644
--- a/.github/workflows/create_release.yml
+++ b/.github/workflows/create_release.yml
@@ -275,12 +275,12 @@ jobs:
copy_assets: true
- # only replicate the given release
- limit: 1
-
- # Set the minimum version to accept to the release we just created, in combination with only replicating one release this should only replicate the release we just made
- min_version: v${{steps.read_version.outputs.content}}
+ # we generally expect to be up to date so we only replicate a few releases which should be the current one (plus potentially a few more)
+ limit: 3
+ # Working around issues with releases 5.5.2 and earlier that it attempts to replicate even though they already exist
+ min_version: v5.5.4
+
# we skip replicating pre and draft releases to keep the public repo focused on the releases itself
skip_prerelease: true
skip_draft: true
diff --git a/.github/workflows/mirror_releases.yml b/.github/workflows/mirror_releases.yml
index 27e1e8135..ff2796746 100644
--- a/.github/workflows/mirror_releases.yml
+++ b/.github/workflows/mirror_releases.yml
@@ -13,7 +13,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- - name: Run action
+ - name: Replicate release to public github
uses: ue-foundation/[email protected]
with:
token: ${{ secrets.ZEN_RELEASE_GITHUB_EE_TOKEN }}