Merge pull request #1118 from square/ray/really-it-is-deprecated-for-… #268
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: Publish snapshot | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- ray/ui-update | |
env: | |
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx5g -Dorg.gradle.daemon=false -Dorg.gradle.logging.stacktrace=all" | |
jobs: | |
publish-snapshot : | |
runs-on : macos-latest | |
if : github.repository == 'square/workflow-kotlin' | |
timeout-minutes : 35 | |
steps : | |
- uses: actions/checkout@v3 | |
- name : Check for -SNAPSHOT version | |
uses : ./.github/actions/gradle-task | |
with : | |
task : checkVersionIsSnapshot | |
write-cache-key : build-logic | |
- name : Assemble | |
uses : ./.github/actions/gradle-task | |
with : | |
task : assemble | |
write-cache-key : main-build-artifacts | |
- name : Check | |
uses : ./.github/actions/gradle-task | |
with : | |
task : check | |
- name : Publish Snapshots | |
uses : ./.github/actions/gradle-task | |
with : | |
task : publish | |
env : | |
ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_NEXUS_USERNAME }} | |
ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_NEXUS_PASSWORD }} |