From 5d981488817f721b4d14cfada488671b8df66eda Mon Sep 17 00:00:00 2001 From: gjsjohnmurray Date: Wed, 13 Nov 2024 20:55:50 +0000 Subject: [PATCH] In CI use actions/checkout@v4 to try and fix release step failure --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2913390..ed6f865 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: outputs: taggedbranch: ${{ steps.find-branch.outputs.taggedbranch }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - name: Find which branch the release tag points at id: find-branch @@ -125,7 +125,7 @@ jobs: if: github.event_name == 'release' && needs.build.outputs.taggedbranch == 'main' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: main token: ${{ secrets.TOKEN }}