ci: add/update publish workflow #45
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 == 'wetransform-os' | |
uses: wetransform/gha-workflows/.github/workflows/gradle-library-publish.yml@ad4aa270fbd7f42e48a02ef3b877c1826e8c983e # v3.4.0 | |
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 }} |