ci: add/update publish workflow #24
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@ea94f03339afbdd8770e446d3f000c2d366a6fc1 # v3.4.1 | |
with: | |
java-version: 11 | |
multi-module: true | |
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 }} |