ci: add/update release workflow #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# | |
# PLEASE NOTE: Managed workflow - do not change manually | |
# | |
name: Publish | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: {} | |
concurrency: | |
# only run one publishing at a time to avoid conflicts | |
group: publish-${{ github.ref }} | |
jobs: | |
publish: | |
# Only on main repository (don't publish on forks) | |
if: github.repository_owner == 'halestudio' | |
uses: wetransform/gha-workflows/.github/workflows/gradle-library-publish.yml@7f5f6571ea09b9d4b2b85d8b7a13f9ff80ba59e4 # v3.2.1 | |
with: | |
java-version: 17 | |
multi-module: false | |
semantic-release: false | |
skip-scan: false | |
secrets: | |
WETF_ARTIFACTORY_USER: ${{ secrets.WETF_ARTIFACTORY_USER }} | |
WETF_ARTIFACTORY_PASSWORD: ${{ secrets.WETF_ARTIFACTORY_PASSWORD }} | |
SLACK_NOTIFICATIONS_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }} |