Skip to content

Commit

Permalink
Fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebemish committed Dec 16, 2023
1 parent 3d655ff commit 41b0ef3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
"concurrency": "ci-${{ github.ref }}",
"on": {
"workflow_run": {
"workflows": [
"Build PR"
],
"types": [
"completed"
],
"workflows": [
"Build PR"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"uses": "fregante/setup-git-user@v2"
},
{
"name": "tagRelease",
"run": "./gradlew ",
"id": "tagrelease",
"name": "Tag Release",
"run": "./gradlew tagRelease",
"id": "tag_release",
"env": {
"RELEASE_MAVEN_PASSWORD": "${{ secrets.RELEASE_MAVEN_PASSWORD }}",
"RELEASE_MAVEN_USER": "github",
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ managedVersioning {
setupGitUser()
}
readOnly.set false
gradlew 'tagRelease'
gradlew 'Tag Release', 'tagRelease'
gradlew 'Build', 'build'
step {
run.set 'git push && git push --tags'
Expand Down

0 comments on commit 41b0ef3

Please sign in to comment.