Skip to content

Commit e90f02f

Browse files
committed
ci: update github workflows
1 parent 75baa5f commit e90f02f

2 files changed

Lines changed: 19 additions & 28 deletions

File tree

.github/workflows/build-pr.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,39 @@ on:
44
push:
55
branches:
66
- master
7+
- development
78
tags:
89
- "*-[0-9]+.*"
10+
pull_request:
11+
branches:
12+
- master
13+
- development
914

1015
jobs:
1116
build:
12-
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
os: [ubuntu-latest, windows-latest]
20+
runs-on: ${{ matrix.os }}
1321

1422
steps:
15-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v4
24+
- name: Setup Python
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: '3.10'
1628
- name: Set up Java
17-
uses: actions/setup-java@v3
29+
uses: actions/setup-java@v4
1830
with:
19-
java-version: '17'
20-
distribution: 'temurin'
31+
java-version: '8'
32+
distribution: 'zulu'
2133
cache: 'maven'
2234
- name: Set up CI environment
2335
run: .github/setup.sh
36+
shell: bash
2437
- name: Execute the build
2538
run: .github/build.sh
39+
shell: bash
2640
env:
2741
GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }}
2842
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)