Skip to content

Commit

Permalink
added github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SigCatta committed Jan 3, 2024
1 parent 3311fa7 commit 6be8471
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/mail-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Java CI - mail-service

on:
workflow_dispatch:
push:
branches: [ "mail-service" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Run the Maven verify phase
run: mvn --batch-mode --update-snapshots verify
working-directory: code/mail-service/
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package
working-directory: code/mail-service/
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
@CrossOrigin(origins = "*")
public class AllStudentsEmailSender extends EmailSender {


private final MailService mailService;
private final WebClient webClient;

Expand Down

0 comments on commit 6be8471

Please sign in to comment.