mirror of https://github.com/weisJ/darklaf.git
Vladimir Sitnikov
5 years ago
3 changed files with 45 additions and 16 deletions
@ -1,23 +1,51 @@ |
|||||||
name: Java CI |
name: CI |
||||||
|
|
||||||
on: [push] |
|
||||||
|
|
||||||
|
on: |
||||||
|
push: |
||||||
|
branches: |
||||||
|
- '*' |
||||||
|
pull_request: |
||||||
|
branches: |
||||||
|
- '*' |
||||||
jobs: |
jobs: |
||||||
build: |
windows: |
||||||
|
name: Windows (Java 11) |
||||||
runs-on: windows-latest |
runs-on: windows-latest |
||||||
|
steps: |
||||||
|
- uses: actions/checkout@v2 |
||||||
|
with: |
||||||
|
fetch-depth: 10 |
||||||
|
- name: Set up JDK 11 |
||||||
|
uses: actions/setup-java@v1 |
||||||
|
with: |
||||||
|
java-version: 11 |
||||||
|
- name: Build |
||||||
|
run: ./gradlew build |
||||||
|
|
||||||
|
linux: |
||||||
|
name: Linux (Java 8) |
||||||
|
runs-on: ubuntu-latest |
||||||
steps: |
steps: |
||||||
- uses: actions/checkout@v1 |
- uses: actions/checkout@v2 |
||||||
- name: Set up JDK 1.11 |
with: |
||||||
|
fetch-depth: 10 |
||||||
|
- name: Set up JDK 8 |
||||||
|
uses: actions/setup-java@v1 |
||||||
|
with: |
||||||
|
java-version: 8 |
||||||
|
- name: Build |
||||||
|
run: ./gradlew build |
||||||
|
|
||||||
|
macos: |
||||||
|
name: macOS (Java 11) |
||||||
|
runs-on: macos-latest |
||||||
|
steps: |
||||||
|
- uses: actions/checkout@v2 |
||||||
|
with: |
||||||
|
fetch-depth: 10 |
||||||
|
- name: Set up JDK 11 |
||||||
uses: actions/setup-java@v1 |
uses: actions/setup-java@v1 |
||||||
with: |
with: |
||||||
java-version: 1.11 |
java-version: 11 |
||||||
- name: Build with Gradle |
- name: Build |
||||||
env: |
run: ./gradlew build |
||||||
repoUrl : '${{secrets.deployRepoUrl}}' |
|
||||||
repoUsername : '${{secrets.deployRepoUsername}}' |
|
||||||
repoPassword : '${{secrets.deployRepoPassword}}' |
|
||||||
signPassword : '${{secrets.SIGNING_PASSWORD}}' |
|
||||||
signKey : '${{secrets.SIGNING_KEY}}' |
|
||||||
run: ./gradlew build -PdeployRepoUrlProp='${{secrets.deployRepoUrl}}' -PdeployRepoUsernameProp='${{secrets.deployRepoUsername}}' -PdeployRepoPasswordProp='${{secrets.deployRepoPassword}}' -PsigningPasswordProp='${{secrets.SIGNING_PASSWORD}}' -PsigningKeyProp='${{secrets.SIGNING_KEY}}' |
|
||||||
|
Loading…
Reference in new issue