diff --git a/.github/workflows/publish_artifacts_on_release.yaml b/.github/workflows/publish_artifacts_on_release.yaml index b8f12cca..a48a70a9 100644 --- a/.github/workflows/publish_artifacts_on_release.yaml +++ b/.github/workflows/publish_artifacts_on_release.yaml @@ -21,7 +21,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - ref: ref/tags/${{ github.events.release.tag_name || inputs.release_tag }} + with: + ref: ${{ github.events.release.tag_name || inputs.release_tag || github.ref }} - name: Set up Maven Central Repository uses: actions/setup-java@v1 with: