From 8cf15ab66f18e4a82397b0c63f188ee9f01a9c99 Mon Sep 17 00:00:00 2001 From: piotradamczyk5 <65554637+piotradamczyk5@users.noreply.github.com> Date: Thu, 20 Aug 2020 13:40:27 +0200 Subject: [PATCH] ci: Disable publishing snapshot to Github Packages --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) 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 }}"