-
-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (27 loc) · 852 Bytes
/
maven.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Email.it plugin check
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 1 * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'adopt' # See 'Supported distributions' for available options
java-version: 11
- name: Build with Maven
run:
mvn -B package --file pom.xml
- name: Test plugin Email.it
run:
java -cp /home/runner/work/html2pop3/html2pop3/target/HTML2POP3-3.1.0-jar-with-dependencies.jar it.baccan.html2pop3.utils.PluginTester ${{ secrets.EMAILIT_USER }} ${{ secrets.EMAILIT_PWD }}