Skip to content

Commit d4e60b7

Browse files
Update build-java-app-workflow.yml
1 parent c358489 commit d4e60b7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build-java-app-workflow.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ on:
1414
jobs:
1515
build-workflow:
1616
name: Build Java app
17-
#runs-on: ubuntu-22.04
18-
runs-on: self-hosted
17+
runs-on: ubuntu-22.04
18+
#runs-on: self-hosted
1919
outputs:
2020
version: ${{ steps.get_project_version.outputs.version }}
2121
steps:
2222
- uses: actions/checkout@v3
2323
with:
2424
fetch-depth: '10'
25-
#- name: Set up JDK 8
26-
# uses: actions/setup-java@v3
27-
# with:
28-
# distribution: 'temurin'
29-
# java-version: '8'
30-
# cache: 'maven'
25+
- name: Set up JDK 8
26+
uses: actions/setup-java@v3
27+
with:
28+
distribution: 'temurin'
29+
java-version: '8'
30+
cache: 'maven'
3131
- name: Maven Build (skip tests)
3232
run: mvn -T 2 clean install -DskipTests ${{ inputs.maven_opts }}
3333
- uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)