diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e3f009479..efddf50adb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -100,6 +100,7 @@ jobs: - name: Gradle Upload to GitHub packages uses: eskatos/gradle-command-action@v1 + if: startsWith(github.ref, 'refs/tags/v') with: gradle-executable: "./test_runner/gradlew" arguments: "-p test_runner publish -PGITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}"