Skip to content

Commit

Permalink
Add release task back
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Aug 5, 2024
1 parent a243926 commit 847d8d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
cache-read-only: true
# Disable CC due to https://github.com/gradle/gradle/issues/22779
- run: ./gradlew publish publishPlugins gitPublishCopy --no-configuration-cache
- run: ./gradlew release --no-configuration-cache
env:
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_SECRET }}
Expand Down
4 changes: 4 additions & 0 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ gradlePlugin {
tasks.named('publishPlugins') {
notCompatibleWithConfigurationCache("https://github.com/gradle/gradle/issues/21283")
}

tasks.register('release') {
dependsOn tasks.named('publishPlugins'), tasks.named('publishPlugins'), tasks.named('gitPublishPush')
}

0 comments on commit 847d8d6

Please sign in to comment.