Merge pull request #249 from zowe/upgrade-explorer-api-common-1.1.20 #123
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: | |
timeout-minutes: 20 | |
runs-on: ubuntu-latest | |
env: | |
BRANCH_NAME: ${{ github.ref_name }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- uses: ./.github/actions/setup | |
- name: Release with Gradle | |
run: > | |
./gradlew packageJobsApiServer 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 }} | |
- uses: ./.github/actions/teardown |