Skip to content

Commit 4ce30a2

Browse files
committed
Add Valhalla EA build workflow
1 parent e4af7bf commit 4ce30a2

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/valhalla-ea.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
2+
name: Valhalla EA
3+
4+
on:
5+
workflow_dispatch:
6+
# push:
7+
# pull_request:
8+
# schedule:
9+
# - cron: '39 1 * * 1,3,5'
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ${{ matrix.os }}
15+
permissions:
16+
contents: read
17+
packages: write
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
java_version: [valhalla]
22+
os: [ubuntu-latest]
23+
24+
steps:
25+
- uses: actions/checkout@v4
26+
- name: Set up Java
27+
uses: oracle-actions/setup-java@v1
28+
with:
29+
website: jdk.java.net
30+
release: ${{ matrix.java_version }}
31+
- name: Maven cache
32+
uses: actions/cache@v4
33+
env:
34+
cache-name: maven-cache
35+
with:
36+
path:
37+
~/.m2
38+
key: build-${{ env.cache-name }}
39+
- name: Maven version
40+
run: mvn --version
41+
- name: Prepare
42+
run: ./jakarta-to-valhalla.sh
43+
- name: Build with Maven
44+
run: mvn package
45+

0 commit comments

Comments
 (0)