From f7f824b756d90f0a0cac015d0cd31780c2888e78 Mon Sep 17 00:00:00 2001 From: wusubsin Date: Sun, 29 Oct 2023 14:43:56 +0900 Subject: [PATCH] Specify the target branch for checkout. --- .github/workflows/gradle-custom-plugin-release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle-custom-plugin-release.yml b/.github/workflows/gradle-custom-plugin-release.yml index ea35009..e00d1c5 100644 --- a/.github/workflows/gradle-custom-plugin-release.yml +++ b/.github/workflows/gradle-custom-plugin-release.yml @@ -20,8 +20,9 @@ jobs: permissions: write-all steps: - - uses: actions/checkout@v3 - + - uses: actions/checkout@v4 + with: + ref: 'main' - name: Set up JDK 11 uses: actions/setup-java@v3 @@ -75,7 +76,7 @@ jobs: version="$temp_major$temp_minor$temp_patch$temp_prereleaseVersion" - echo "temp_prereleaseVersion : $version" + echo "echo : $version" echo "APPLICATION_VERSION=$version" >> $GITHUB_OUTPUT