-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (42 loc) · 1.04 KB
/
build.yml
File metadata and controls
48 lines (42 loc) · 1.04 KB
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
name: Upgrades
on:
push:
branches-ignore:
- 'dependabot/**'
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
UpgradeTests:
name: Upgrade
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project: [ morphia, javabot ]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Checkout Morphia
uses: actions/checkout@v6
with:
repository: MorphiaOrg/morphia
path: ${{ github.workspace }}/morphia-3.x
- name: Setup Java
uses: actions/setup-java@v5
with:
java-version: 17
distribution: 'zulu'
server-id: central
cache: maven
- name: Set up sdkman
uses: sdkman/sdkman-action@main
with:
candidate: maven
version: 4.0.0-rc-5
- name: Run Migration
continue-on-error: ${{ matrix.project != 'morphia' }}
run: |
make ${{ matrix.project }}
env:
MORPHIA_HOME: ${{ github.workspace }}/morphia-3.x