File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 env :
7171 GH_TOKEN : ${{ github.token }}
7272 run : gh release create "v${{ steps.version.outputs.revision }}" --title "Mawu ${{ steps.version.outputs.revision }}" --generate-notes
73+
74+ # A tag pushed with GITHUB_TOKEN does not start another workflow, so the
75+ # release publishes rather than waiting for publish.yml to notice the tag.
76+ publish :
77+ name : Publish to repo.blueva.net
78+ needs : release
79+ runs-on : ubuntu-latest
80+ steps :
81+ - name : Checkout
82+ uses : actions/checkout@v7
83+ with :
84+ ref : v${{ needs.release.outputs.revision }}
85+ - name : Set up JDK 17
86+ uses : actions/setup-java@v6
87+ with :
88+ distribution : temurin
89+ java-version : 17
90+ - name : Set up Gradle
91+ uses : gradle/actions/setup-gradle@v6
92+ - name : Publish the plugin and the runtime
93+ run : ./gradlew publishAllPublicationsToBluevaRepoRepository --no-daemon --stacktrace
94+ env :
95+ RELEASE_VERSION : ${{ needs.release.outputs.revision }}
96+ BLUEVA_REPO_USERNAME : ${{ secrets.BLUEVA_REPO_USERNAME }}
97+ BLUEVA_REPO_SECRET : ${{ secrets.BLUEVA_REPO_SECRET }}
You can’t perform that action at this time.
0 commit comments