-
Notifications
You must be signed in to change notification settings - Fork 38
38 lines (36 loc) · 985 Bytes
/
esi.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
35
36
37
38
name: Esi
on:
push:
schedule:
# Daily @ 8:44
- cron: '44 8 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: build-${{ hashFiles('**/pom.xml') }}
restore-keys: |
build-
- name: JDK
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 8
- name: Build with Maven
env:
SSO_CLIENT_ID: ${{ secrets.SSO_CLIENT_ID }}
SSO_REFRESH_TOKEN: ${{ secrets.SSO_REFRESH_TOKEN }}
run: mvn -Dtest=EsiDeprecationOnlineTest test
- name: Send discord notification for new release
if: failure()
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@cf9b729d74ae8cd2de75a32a02594d4d4a1d4a77
with:
args: ':exclamation: eve-esi library needs to be updated'