Skip to content

Commit 7c48652

Browse files
authored
Merge pull request #93 from ayodejidev/fix/github-workflow
Fix/Github workflow
2 parents be56995 + a05858d commit 7c48652

File tree

3 files changed

+13
-42
lines changed

3 files changed

+13
-42
lines changed

.github/workflows/build.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ name: Build
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: ["main"]
88

99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
14-
- name: Set up JDK 11
15-
uses: actions/setup-java@v4
16-
with:
17-
java-version: '11'
18-
distribution: 'temurin'
19-
cache: maven
20-
- name: Build with Maven
21-
run: ./mvnw clean package
13+
- uses: actions/checkout@v4 # v4
14+
- name: Set up JDK 11
15+
uses: actions/setup-java@v4
16+
with:
17+
java-version: "11"
18+
distribution: "temurin"
19+
cache: maven
20+
- name: Build with Maven
21+
run: ./mvnw clean package

.github/workflows/docker-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Push to Github Packages
33
on:
44
workflow_dispatch:
55
push:
6-
branches: [ main ]
6+
branches: [main]
77

88
env:
99
REGISTRY: ghcr.io
@@ -45,5 +45,5 @@ jobs:
4545
context: .
4646
platforms: linux/amd64,linux/arm64
4747
push: true
48-
#tags: ${{ steps.meta.outputs.tags }}
48+
tags: ${{ steps.meta.outputs.tags }}
4949
labels: ${{ steps.meta.outputs.labels }}

.github/workflows/docker.yml

-29
This file was deleted.

0 commit comments

Comments
 (0)