Skip to content

Release version 1.0.4 (#19) #29

Release version 1.0.4 (#19)

Release version 1.0.4 (#19) #29

Workflow file for this run

name: Publish to artifactory on release branch
on:
push:
branches: [ "release" ]
jobs:
build:
runs-on: macos-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 --no-configuration-cache && ./gradlew publish --no-configuration-cache --stacktrace