From 65c1678bc943da15c6b13bb03e00905b493c32c3 Mon Sep 17 00:00:00 2001 From: juewuy Date: Sat, 23 Mar 2024 16:31:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=87=AA=E5=8A=A8=E7=BC=96?= =?UTF-8?q?=E8=AF=91singboxp=E5=86=85=E6=A0=B8=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/core_auto_update.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/core_auto_update.yml b/.github/workflows/core_auto_update.yml index 3b09b8b..88f407a 100644 --- a/.github/workflows/core_auto_update.yml +++ b/.github/workflows/core_auto_update.yml @@ -14,6 +14,26 @@ jobs: with: tag1: PuerNya/sing-box tag2: building - tag3: singbox_core_PuerNya tag5: with_quic,with_dhcp,with_wireguard,with_shadowsocksr,with_ech,with_utls,with_clash_api,with_gvisor secrets: inherit + push_to_git: + needs: + - auto_update_singboxp_with_wg + runs-on: ubuntu-latest + steps: + - name: Create Release and Upload Release Asset + if: ${{ env.RELEASE != '' && env.PUSHDIR == '' }} + uses: softprops/action-gh-release@v1 + with: + tag_name: singbox_core_PuerNya + name: singbox_core_PuerNya + draft: false + prerelease: true + files: | + ./tmp/singbox*.tar.gz + + - name: Cleanup Workflow + uses: Mattraks/delete-workflow-runs@main + with: + retain_days: 1 + keep_minimum_runs: 2 \ No newline at end of file