From ac9d0285b598735e429185f7734aa4a7af43fc69 Mon Sep 17 00:00:00 2001 From: FiorenMas <102145692+FiorenMas@users.noreply.github.com> Date: Tue, 4 Apr 2023 22:16:58 +0700 Subject: [PATCH] Update patch.yml --- .github/workflows/patch.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml index e948dd0..8312655 100644 --- a/.github/workflows/patch.yml +++ b/.github/workflows/patch.yml @@ -38,14 +38,6 @@ jobs: echo "Download Below :point_down:" > ${{ github.workspace }}-CHANGELOG.txt echo "INFO-RV=Revanced-v${RVVERSION}" >> $GITHUB_ENV echo "INFO-RVE=Revanced Extended-v${RVEVERSION}" >> $GITHUB_ENV - - - name: Delete Release - uses: dev-drprasad/delete-older-releases@v0.2.1 - with: - repo: ${{ github.repository }} - keep_latest: 0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Release Revanced uses: softprops/action-gh-release@v1 @@ -75,4 +67,12 @@ jobs: retain_days: 0 keep_minimum_runs: 5 + - name: Delete Release + uses: dev-drprasad/delete-older-releases@v0.2.1 + with: + repo: ${{ github.repository }} + keep_latest: 2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + permissions: write-all