Skip to content

Commit

Permalink
Fixed other GH Actions too.
Browse files Browse the repository at this point in the history
  • Loading branch information
MagielBruntink committed Jan 25, 2024
1 parent 098057d commit ebb3d8c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docker-image-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ jobs:
# See also https://docs.docker.com/docker-hub/builds/
push:

runs-on: ubuntu-18.04
runs-on: ubuntu-latest
if: github.event_name == 'push'

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.11
distribution: 'temurin'
java-version: '11'
- name: Build jar
run: mvn clean install
- name: Build image
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ jobs:
# See also https://docs.docker.com/docker-hub/builds/
push:

runs-on: ubuntu-18.04
runs-on: ubuntu-latest
if: github.event_name == 'push'

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.11
distribution: 'temurin'
java-version: '11'
- name: Build jar
run: mvn clean install
- name: Build image
Expand Down

0 comments on commit ebb3d8c

Please sign in to comment.