Skip to content

[Gradle Release plugin] Create new version: '2.0.27-SNAPSHOT'. #104

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

[Gradle Release plugin] Create new version: '2.0.27-SNAPSHOT'. #104

name: Snapshot Release
on:
push:
branches:
- master
- v2.x/master
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: ./.github/actions/setup
- name: Release with Gradle
run: >
./gradlew publishAllVersions
-Pdeploy.username=$ARTIFACTORY_USERNAME -Pdeploy.password=$ARTIFACTORY_PASSWORD
env:
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
- uses: ./.github/actions/teardown