Skip to content

Commit

Permalink
Merge pull request #93 from ayodejidev/fix/github-workflow
Browse files Browse the repository at this point in the history
Fix/Github workflow
  • Loading branch information
ayodejidev authored Oct 14, 2024
2 parents be56995 + a05858d commit 7c48652
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 42 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ name: Build

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: ./mvnw clean package
- uses: actions/checkout@v4 # v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: "11"
distribution: "temurin"
cache: maven
- name: Build with Maven
run: ./mvnw clean package
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Push to Github Packages
on:
workflow_dispatch:
push:
branches: [ main ]
branches: [main]

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -45,5 +45,5 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
#tags: ${{ steps.meta.outputs.tags }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
29 changes: 0 additions & 29 deletions .github/workflows/docker.yml

This file was deleted.

0 comments on commit 7c48652

Please sign in to comment.