Skip to content

Bump version to 1.0.2 (#13) #26

Bump version to 1.0.2 (#13)

Bump version to 1.0.2 (#13) #26

Workflow file for this run

name: Publish to artifactory on release branch
on:
push:
branches: [ "release" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
steps:
- name: "Checkout sources"
uses: actions/checkout@v4
- name: "Setup Java"
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
# Populates ARTIFACTORY_USERNAME and ARTIFACTORY_API_KEY with
# temporary username/password for publishing to packages.atlassian.com
- name: Get publish token
id: publish-token
uses: atlassian-labs/[email protected]
with:
output-modes: environment
# Publishes to Artifactory only on push to the "release" branch.
- name: "Publish"
run: ./gradlew assemble && ./gradlew publish --stacktrace