-
Notifications
You must be signed in to change notification settings - Fork 7
41 lines (32 loc) · 1.16 KB
/
build_mpsqa.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
39
40
41
name: MPS-QA_CI
on: [push, pull_request]
env:
GITHUB_TOKEN: ${{ secrets.MPSQA_GITHUB_PKG_REGISTRY }}
jobs:
build_mps_qa_packages:
runs-on: ubuntu-latest
env:
DISPLAY: ':99'
steps:
- uses: actions/checkout@v2
- name: Setup headless environment
run: |
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build MPS-QA and Publish to Github Maven
uses: gradle/gradle-build-action@v2
with:
arguments: build publish -Partifacts.itemis.cloud.user=${{secrets.ARTIFACTS_ITEMIS_CLOUD_USER}} -Partifacts.itemis.cloud.pw=${{secrets.ARTIFACTS_ITEMIS_CLOUD_PW}}
wrapper-cache-enabled: true
dependencies-cache-enabled: true
dependencies-cache-key: gradle/dependency-locks/**
dependencies-cache-exact: true
configuration-cache-enabled: true
- name: Archive distribution
uses: actions/upload-artifact@v2
with:
name: mpsqa-distribution-2020.3-${{ steps.time.outputs.time }}
path: build/artifacts/org.mpsqa.allInOne/org.mpsqa.allInOne.zip