Skip to content

Commit b94dba9

Browse files
authored
Merge pull request #37 from AzisabaNetwork/feat/rewrite-workflow
ワークフローの書き直し
2 parents 608d0b1 + 12572e8 commit b94dba9

File tree

2 files changed

+38
-23
lines changed

2 files changed

+38
-23
lines changed

.github/workflows/build-test.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Build
3+
on:
4+
push:
5+
branches:
6+
- v2
7+
pull_request:
8+
branches:
9+
- v2
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
name: Build with Java 17
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 15
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-java@v4
21+
with:
22+
distribution: "adopt"
23+
java-version: "17"
24+
cache: "maven"
25+
26+
- name: Java version
27+
run: java -version
28+
29+
- name: Check maven version
30+
run: mvn --version
31+
32+
- name: Build
33+
run: mvn -B package
34+
35+
- name: Upload a Build Artifact
36+
uses: actions/[email protected]
37+
with:
38+
path: target/

0 commit comments

Comments
 (0)