Skip to content

Defer payloads in groups (#562) #312

Defer payloads in groups (#562)

Defer payloads in groups (#562) #312

Workflow file for this run

name: Master Build and Publish
# For master push: Builds and publishes the development version to maven central
on:
push:
branches:
- master
jobs:
buildAndPublish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
steps:
- uses: actions/checkout@v1
- name: Set up Java 11
uses: actions/setup-java@v1
with:
java-version: '11.0.9'
# 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
- name: build test and publish
run: ./gradlew assemble && ./gradlew check --info && ./gradlew artifactoryPublish -x check --info
- uses: actions/upload-artifact@v3
with:
name: my-artifact
path: lib/build
retention-days: 1
- name: debug files
run: find ./ -type f -name "*.jar" -ls