From 42f17c725501a65315044daaec50557e306ff297 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Fri, 30 Aug 2024 13:25:29 +1000 Subject: [PATCH] test release pipeline --- .github/workflows/build-and-publish-release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish-release.yml b/.github/workflows/build-and-publish-release.yml index e27ead5..998567b 100644 --- a/.github/workflows/build-and-publish-release.yml +++ b/.github/workflows/build-and-publish-release.yml @@ -93,7 +93,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 0 + ref: main + fetch-depth: 1 - uses: actions/setup-java@v4.2.2 if: ${{ hashFiles('**/pom.xml') }} with: @@ -178,7 +179,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 0 + ref: main + fetch-depth: 1 - uses: actions/setup-java@v4.2.2 if: ${{ hashFiles('**/pom.xml') }} with: