Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimumCode authored Jul 18, 2024
1 parent 5f5e5a7 commit 159566c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/dev-java-publish-sonatype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
with:
build-target: 'Sonatype'
runsOn: ubuntu-latest
gradleVersion: '7'
secrets:
sonatypeUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/dev-release-java-publish-sonatype.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: Build and publish dev-release Java distributions to sonatype.

on:
push:
tags:
- \d+.\d+.\d+-dev
workflow_dispatch:

jobs:
build:
uses: th2-net/.github/.github/workflows/compound-java.yml@main
with:
build-target: 'Sonatype'
runsOn: ubuntu-latest
gradleVersion: '7'
devRelease: true
createTag: true
secrets:
sonatypeUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java-publish-sonatype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
build-target: 'Sonatype'
runsOn: ubuntu-latest
gradleVersion: '7'
createTag: true
secrets:
sonatypeUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
Expand Down

0 comments on commit 159566c

Please sign in to comment.