This commit is contained in:
parent
7feaa9a422
commit
8259d2ece4
@ -17,15 +17,12 @@ jobs:
|
|||||||
apt update && apt install -y ca-certificates curl gnupg && mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && NODE_MAJOR=20 && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt update && apt install nodejs -y
|
apt update && apt install -y ca-certificates curl gnupg && mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && NODE_MAJOR=20 && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt update && apt install nodejs -y
|
||||||
apt install -y maven
|
apt install -y maven
|
||||||
|
|
||||||
- name: Checkout Repository
|
|
||||||
run: echo "Install repos..."
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
distribution: 'adopt' # See 'Supported distributions' for available options
|
||||||
java-version: '21'
|
java-version: '17'
|
||||||
- run: |
|
- run: |
|
||||||
java -version
|
java -version
|
||||||
mvn -B verify --file pom.xml
|
mvn -B verify --file pom.xml
|
||||||
|
Loading…
Reference in New Issue
Block a user