forked from fadookie/particleman
-
Notifications
You must be signed in to change notification settings - Fork 4
32 lines (26 loc) · 764 Bytes
/
deploy.yml
File metadata and controls
32 lines (26 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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