Skip to content

[Gradle Release plugin] Create new version: '2.0.32-SNAPSHOT'. #155

[Gradle Release plugin] Create new version: '2.0.32-SNAPSHOT'.

[Gradle Release plugin] Create new version: '2.0.32-SNAPSHOT'. #155

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