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