Pulls latest graphql-java version, which contains oneOf, and add some… #232
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: 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 |