This commit is contained in:
parent
c512b5ce05
commit
38074b78fe
1 changed files with 5 additions and 16 deletions
|
@ -13,29 +13,18 @@ jobs:
|
||||||
runs-on: ubuntu
|
runs-on: ubuntu
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Node.js
|
|
||||||
run: |
|
|
||||||
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
|
|
||||||
sudo apt-get install -y nodejs
|
|
||||||
node -v
|
|
||||||
npm -v
|
|
||||||
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install JDK 21
|
- name: Install JDK 21
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y openjdk-21-jdk
|
sudo apt install -y openjdk-21-jdk
|
||||||
java -version
|
java -version
|
||||||
|
|
||||||
- name: Cache Maven dependencies
|
- name: Checkout repository
|
||||||
uses: actions/cache@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
repository: MelonEconomy/Melon-Proxy
|
||||||
key: maven-${{ hashFiles('**/pom.xml') }}
|
ref: main
|
||||||
restore-keys: |
|
|
||||||
maven-
|
|
||||||
|
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn clean install -DskipTests
|
run: mvn clean install -DskipTests
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue