From 8debf47e6863430cb6c305c31fe684d928b271c8 Mon Sep 17 00:00:00 2001 From: WuBoytH Date: Thu, 1 Aug 2024 20:17:15 -0400 Subject: [PATCH 1/2] Update build_prerelease.yml --- .github/workflows/build_prerelease.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build_prerelease.yml b/.github/workflows/build_prerelease.yml index 7ff4542dbc..f104d15716 100644 --- a/.github/workflows/build_prerelease.yml +++ b/.github/workflows/build_prerelease.yml @@ -178,21 +178,25 @@ jobs: # get the most recent latest full release - id: package_latest + continue-on-error: true uses: pozetroninc/github-action-get-latest-release@master with: repository: HDR-Development/HDR-PreReleases # build the upgrade.zip and deletions.json - name: make upgrade artifacts + if: steps.package_latest.outcome != 'failure' run: | python3 scripts/make_diff.py prerelease - name: show upgrade artifacts + if: steps.package_latest.outcome != 'failure' run: | ls && stat * && echo && ls upgrade_artifacts && stat upgrade_artifacts/* # upload the upgrade data to the previous release for auto updater - name: Upload upgrade data to previous release + if: steps.package_latest.outcome != 'failure' uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.RELEASE_TOKEN }} @@ -206,6 +210,7 @@ jobs: # upload the upgrade data to the previous release for auto updater - name: Upload upgrade deletions to previous release + if: steps.package_latest.outcome != 'failure' uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.RELEASE_TOKEN }} From a4ada23c216ea3bb067eeff3c2c349cbc05193b7 Mon Sep 17 00:00:00 2001 From: WuBoytH Date: Thu, 1 Aug 2024 20:19:40 -0400 Subject: [PATCH 2/2] comment for now --- .github/workflows/build_prerelease.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_prerelease.yml b/.github/workflows/build_prerelease.yml index f104d15716..2ffa3e2b7f 100644 --- a/.github/workflows/build_prerelease.yml +++ b/.github/workflows/build_prerelease.yml @@ -15,9 +15,9 @@ jobs: changelog: ${{ steps.github_changelog.outputs.changelog }} steps: # fail out if this is not a merge commit - - name: ensure merge - if: ${{ !startsWith(github.event.head_commit.message, 'Merge') }} - run: exit 1 + # - name: ensure merge + # if: ${{ !startsWith(github.event.head_commit.message, 'Merge') }} + # run: exit 1 - name: checkout version uses: actions/checkout@v4.1.4