-
Notifications
You must be signed in to change notification settings - Fork 26
30 lines (26 loc) · 964 Bytes
/
ci.yml
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
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: CI
concurrency: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'temurin'
- name: Build with Gradle
run: ./gradlew clean setLibraryVersion build
env:
SOURCE_PROJECT_KEY: project-sync-source
SOURCE_CLIENT_ID: ${{ secrets.SOURCE_CLIENT_ID }}
SOURCE_CLIENT_SECRET: ${{ secrets.SOURCE_CLIENT_SECRET }}
TARGET_PROJECT_KEY: project-sync-target
TARGET_CLIENT_ID: ${{ secrets.TARGET_CLIENT_ID }}
TARGET_CLIENT_SECRET: ${{ secrets.TARGET_CLIENT_SECRET }}
- name: Codecov
uses: codecov/codecov-action@v4