Skip to content

Commit b33ebb2

Browse files
authored
Update main.yml
1 parent a1fede2 commit b33ebb2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ jobs:
1616
- name: Set up JDK 16
1717
uses: actions/setup-java@v1
1818
with:
19-
java-version: 16
19+
distribution: 'temurin'
20+
java-version: '16'
21+
cache: 'gradle'
2022
- name: Mavenを使ってビルド
21-
run: mvn --batch-mode --update-snapshots verify versions:set -DnewVersion=${{ github.run_number }}
23+
run: mvn -B package versions:set -DnewVersion=${{ github.run_number }}
2224
- name: original-*.jarを削除
2325
run: rm target/original-*.jar
2426
- name: パッケージをビルドの成果物としてリリース

0 commit comments

Comments
 (0)