Merge pull request #134 from uakihir0/dependabot/gradle/dependencies-… #36
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 Package | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macos-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Build with Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
arguments: build -x core:jvmTest -x stream:jvmTest -x auth:jvmTest | |
- name: Publish to Repsy | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
arguments: publishAllPublicationsToMavenRepository -x core:jvmTest -x stream:jvmTest -x auth:jvmTest | |
env: | |
USERNAME: ${{ secrets.REPSY_USERNAME }} | |
PASSWORD: ${{ secrets.REPSY_PASSWORD }} |