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 3ebce14 commit 78caf20
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 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 All @@ -60,6 +60,9 @@
"MODRINTH_KEY": "${{ secrets.MODRINTH_KEY }}"
}
},
{
"run": "git push && git push --tags"
},
{
"with": {
"args": "copy build/prepareJavadoc r2:javadoc-lukebemish-dev"
Expand Down Expand Up @@ -87,9 +90,6 @@
"CURSEFORGE_KEY": "${{ secrets.CURSEFORGE_KEY }}",
"MODRINTH_KEY": "${{ secrets.MODRINTH_KEY }}"
}
},
{
"run": "git push && git push --tags"
}
]
}
Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ managedVersioning {
step {
setupGitUser()
}
gradlew 'tagRelease'
gradlew 'Build', 'checkLicenses', 'build', 'prepareJavadoc'
readOnly.set false
gradlew 'Tag Release', 'tagRelease'
gradlew 'Build', 'checkLicenses', 'build', 'prepareJavadoc'
step {
run.set 'git push && git push --tags'
}
step {
name.set 'Upload Javadoc'
uses.set 'andreiio/rclone-action@v1.2.0'
Expand All @@ -49,9 +52,6 @@ managedVersioning {
gradlew 'Publish', 'publish', 'modrinth', 'curseforge'
mavenRelease('github')
modPublishing()
step {
run.set 'git push && git push --tags'
}
}
}
build_pr {
Expand Down

0 comments on commit 78caf20

Please sign in to comment.