Skip to content

Commit

Permalink
Only run on release tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
renelink committed Aug 9, 2024
1 parent 3842b10 commit 8788639
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ name: Publish

on:
push:
branches:
- "feature/**"
# tags:
# - 'v[0-9]+.[0-9]+.[0-9]+'
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'


jobs:
Expand Down Expand Up @@ -45,4 +43,4 @@ jobs:
- name: Build with Gradle Wrapper
run: |
export GPG_SIGNING_KEY="${{ secrets.OSSRH_GPG_SECRET_KEY }}"
./gradlew build
./gradlew build publishAllPublicationsToSonatypeRepository

0 comments on commit 8788639

Please sign in to comment.