This commit is contained in:
parent
38074b78fe
commit
3c0b084a16
1 changed files with 4 additions and 5 deletions
|
@ -10,13 +10,13 @@ on:
|
|||
|
||||
jobs:
|
||||
build_and_release:
|
||||
runs-on: ubuntu
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
steps:
|
||||
- name: Install JDK 21
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y openjdk-21-jdk
|
||||
apt update
|
||||
apt install -y openjdk-21-jdk
|
||||
java -version
|
||||
|
||||
- name: Checkout repository
|
||||
|
@ -25,7 +25,6 @@ jobs:
|
|||
repository: MelonEconomy/Melon-Proxy
|
||||
ref: main
|
||||
|
||||
|
||||
- name: Build with Maven
|
||||
run: mvn clean install -DskipTests
|
||||
|
||||
|
@ -41,4 +40,4 @@ jobs:
|
|||
- name: Publish release (optional)
|
||||
run: |
|
||||
git tag v1.0.0
|
||||
git push origin v1.0.0
|
||||
git push origin v1.0.0
|
Loading…
Add table
Add a link
Reference in a new issue