From 04f9731e6d2deac7a8cf7d03903ef8d79b11be6b Mon Sep 17 00:00:00 2001 From: Ruslan Iushchenko Date: Tue, 26 Mar 2024 09:11:40 +0100 Subject: [PATCH] Allow releasing a non-master branch. --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 028edc245..541c8b7bc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,7 +31,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 with: - ref: master + ref: ${{ github.head_ref || github.ref_name }} - name: Setup JDK and sbt uses: actions/setup-java@v4 @@ -72,7 +72,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 with: - ref: master + ref: ${{ github.head_ref || github.ref_name }} - name: Checkout the release branch id: release_branch3