diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 1942427c..8950ca3b 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -100,7 +100,7 @@ jobs: - uses: actions/checkout@v3 with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token - fetch-depth: 0 # otherwise, you will fail to push refs to dest repo + ref: ${{ github.ref }} - name: Set up JDK uses: actions/setup-java@v3