Skip to content

Commit eeb4360

Browse files
committed
Update release script, take eight
1 parent 4ffc23b commit eeb4360

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,21 @@ on:
88
jobs:
99
publish:
1010
runs-on: ubuntu-latest
11-
container:
12-
image: openjdk:17-jdk
13-
options: --user root
1411
steps:
1512
- name: Install Git before checkout
1613
shell: bash
1714
run: |
18-
apt-get update
19-
apt-get install --no-install-recommends -y git
15+
sudo apt-get update
16+
sudo apt-get install --no-install-recommends -y git
2017
- uses: actions/checkout@v3
2118
with:
2219
submodules: 'recursive'
2320
- run: git config --global --add safe.directory /__w/MMDBot/MMDBot
21+
- name: Set up JDK 17
22+
uses: actions/setup-java@v3
23+
with:
24+
java-version: 17
25+
distribution: 'zulu'
2426
- name: Grant execute permission for gradlew
2527
run: chmod +x gradlew
2628
- name: Build Jar with Gradle

0 commit comments

Comments
 (0)