From 08446583f2173eb46ae7b8ac8d20499020103bcf Mon Sep 17 00:00:00 2001 From: "Bat.bat" <45396585+williambj1@users.noreply.github.com> Date: Sun, 16 Jun 2024 23:55:20 +1000 Subject: [PATCH] Update GitHub Actions config --- .github/workflows/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f6835eb..a711a5c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,9 +11,9 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: build/SourcePackages key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} @@ -109,9 +109,8 @@ jobs: - name: Delete Old Prerelease if: (github.event_name == 'push' && github.ref_name == 'master') || github.event_name == 'workflow_dispatch' - uses: dev-drprasad/delete-tag-and-release@v0.1.2 - with: - tag_name: ${{ env.OLD_PRE_TAG }} + run: gh release delete ${{ env.OLD_PRE_TAG }} --cleanup-tag + continue-on-error: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}