[Gradle Release plugin] Create new version: '2.0.32-SNAPSHOT'. #155
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
name: Binary snapshot release | |
on: | |
push: | |
branches: | |
- v1.x/master | |
- v2.x/master | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- uses: ./.github/actions/setup | |
- name: Release with Gradle | |
run: > | |
./gradlew packageFilesApiServer publishAllVersions | |
-Pdeploy.username=$ARTIFACTORY_USERNAME -Pdeploy.password=$ARTIFACTORY_PASSWORD | |
env: | |
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} | |
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} | |
BUILD_NUMBER: ${{ github.run_number }} | |
BRANCH_NAME: ${{ github.ref_name }} | |
- uses: ./.github/actions/teardown |