From 4edede4fa2e46c4299a918a632571a256258b8c0 Mon Sep 17 00:00:00 2001 From: Ash Vardanian <1983160+ashvardanian@users.noreply.github.com> Date: Thu, 25 Apr 2024 03:09:50 +0000 Subject: [PATCH] Make: Take current branch --- .github/workflows/prerelease.yml | 4 +--- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 56f2d88..99c82ba 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -60,9 +60,7 @@ jobs: runs-on: macos-14 steps: - - uses: actions/checkout@v3 - with: - ref: "main" + - uses: actions/checkout@v4 - name: Build run: swift build - name: Run tests diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed1cf2b..45a32e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -107,7 +107,7 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: "main"