chore: publish to new Maven repo #35
This file contains hidden or 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: Deploy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| deploy: | |
| permissions: | |
| id-token: write | |
| contents: read | |
| runs-on: ubuntu-latest | |
| name: Deploy | |
| steps: | |
| - name: Checkout from GitHub | |
| uses: actions/checkout@master | |
| - name: Configure Google Cloud credentials | |
| uses: google-github-actions/auth@v3 | |
| with: | |
| workload_identity_provider: 'projects/824216268633/locations/global/workloadIdentityPools/github-actions/providers/github-actions-oidc' | |
| service_account: 'github-actions@mw-lunarclient-maven-repo.iam.gserviceaccount.com' | |
| - name: Use JDK 16 | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 16 | |
| - name: Build | |
| run: ./gradlew publish |