-
Notifications
You must be signed in to change notification settings - Fork 3
50 lines (46 loc) · 1.33 KB
/
build.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Build project
on:
workflow_dispatch:
pull_request:
schedule:
- cron: '42 6 * * 1-5' # run nightly main builds on weekdays
jobs:
build:
name: Build Java
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Java setup
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
cache: maven
# - name: Setup Testcontainers Cloud Client
# uses: atomicjar/testcontainers-cloud-setup-action@v1
# with:
# token: ${{ secrets.TC_CLOUD_TOKEN }}
- name: Run Maven
run: mvn -B clean verify com.mycila:license-maven-plugin:check
build-net:
name: Build .NET
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Pull Zeebe
run: docker pull ghcr.io/camunda-community-hub/zeebe-with-redis-exporter:latest
- name: Pull Redis
run: docker pull redis:7-alpine
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: actions/[email protected]
with:
dotnet-version: 8.x
- name: Build
run: dotnet build --configuration Release
working-directory: connector-csharp
- name: Test
run: dotnet test --configuration Release --no-build
working-directory: connector-csharp