File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ concurrency: Testing
88on :
99 # Triggers the workflow on push or pull request events but only for the dev branch
1010 push :
11- branches : [ prod ]
11+ branches : [ dev ]
1212 pull_request :
13- branches : [ prod ]
13+ branches : [ dev ]
1414 workflow_dispatch :
1515
1616env :
@@ -31,11 +31,12 @@ jobs:
3131 - uses : actions/checkout@v2
3232
3333 - name : Set up JDK 21
34- uses : actions/setup-java@v1
34+ uses : actions/setup-java@v3
3535 with :
3636 java-version : 21
37+ distribution : ' temurin'
3738
38- # - name: Set up Go
39+ # - name: Set up Go
3940# uses: actions/setup-go@v3
4041# with:
4142# go-version: 1.18
Original file line number Diff line number Diff line change 1- FROM amazoncorretto :21.0.9 as runner
1+ FROM eclipse-temurin :21 as runner
22WORKDIR runner
33COPY **/target/app.jar runner/
44CMD java -jar runner/app.jar
You can’t perform that action at this time.
0 commit comments