From a8ebb6182efa1d7f1fc76fd36783ed4e28eae6cf Mon Sep 17 00:00:00 2001 From: juewuy Date: Sat, 30 Mar 2024 13:03:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=B2=E4=BF=AE=E6=94=B9=20=20=20=20=20=20?= =?UTF-8?q?=20=20.github/workflows/core=5Fauto=5Fupdate.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/core_auto_update.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/core_auto_update.yml b/.github/workflows/core_auto_update.yml index bc5a754..77542d9 100644 --- a/.github/workflows/core_auto_update.yml +++ b/.github/workflows/core_auto_update.yml @@ -29,10 +29,7 @@ jobs: auto_update_singboxp_with_wg: needs: check_version - env: - VERSION_NEW: ${{ needs.check_version.outputs.version_new }} - VERSION_OLD: ${{ needs.check_version.outputs.version_old }} - if: ${{ env.VERSION_NEW != env.VERSION_OLD }} + if: ${{ needs.check_version.outputs.version_new != needs.check_version.outputs.version_old }} permissions: write-all uses: juewuy/ShellCrash/.github/workflows/update_singbox_core.yaml@dev with: @@ -41,3 +38,9 @@ jobs: tag3: singbox_core_PuerNya tag5: with_quic,with_dhcp,with_wireguard,with_shadowsocksr,with_ech,with_utls,with_clash_api,with_gvisor secrets: inherit + + cleanup: + uses: Mattraks/delete-workflow-runs@main + with: + retain_days: 1 + keep_minimum_runs: 2