Browse Source

Add GitHub Actions CI for pull request testing

pull/27/head
Vladimir Sitnikov 5 years ago
parent
commit
fa3c6a5af5
  1. 60
      .github/workflows/gradle.yml
  2. 1
      README.md
  3. 0
      gradlew

60
.github/workflows/gradle.yml

@ -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}}'

1
README.md

@ -1,5 +1,6 @@
# Darklaf - A Darcula Look and Feel # Darklaf - A Darcula Look and Feel
[![CI Status](https://github.com/weisJ/darklaf/workflows/CI/badge.svg?branch=master)](https://github.com/weisJ/darklaf/actions)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.weisj/darklaf.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.weisj%22%20AND%20a:%22darklaf%22) [![Maven Central](https://img.shields.io/maven-central/v/com.github.weisj/darklaf.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.weisj%22%20AND%20a:%22darklaf%22)
This project is based on the [darcula](https://github.com/bulenkov/Darcula) look and feel for Swing. This project is based on the [darcula](https://github.com/bulenkov/Darcula) look and feel for Swing.

0
gradlew vendored

Loading…
Cancel
Save