Skip to content

Commit

Permalink
Make plugin publication depend on the build task
Browse files Browse the repository at this point in the history
  • Loading branch information
pshevche committed Jul 27, 2024
1 parent 5d829eb commit 773506f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash -s -- -b "/usr/bin"
# Use the micro image to speed up tests: https://nektosact.com/usage/runners.html
echo "-P ubuntu-latest=node:16-buster-slim" > $HOME/.actrc
- name: Build
run: ./gradlew build
- name: Publish to Plugins portal
env:
PGP_SIGNING_KEY: ${{secrets.PGP_SIGNING_KEY}}
Expand Down
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,7 @@ signing {
providers.environmentVariable("PGP_SIGNING_KEY_PASSPHRASE").orNull
)
}

tasks.publishPlugins {
dependsOn(tasks.build)
}

0 comments on commit 773506f

Please sign in to comment.