mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03:00
GitHub Actions: initial commit
This commit is contained in:
23
.github/workflows/ci.yml
vendored
Normal file
23
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
||||||
|
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [github-actions]
|
||||||
|
pull_request:
|
||||||
|
branches: [github-actions]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 1.8
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 1.8
|
||||||
|
- name: Build with Gradle
|
||||||
|
run: ./gradlew build
|
||||||
@@ -22,8 +22,9 @@ before_install:
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- name: test
|
- name: test
|
||||||
|
if: branch = disabled
|
||||||
- name: snapshot
|
- name: snapshot
|
||||||
if: branch = master AND type IN (push) AND tag IS blank
|
if: branch = disabled AND type IN (push) AND tag IS blank
|
||||||
- name: release
|
- name: release
|
||||||
if: type IN (push) AND tag IS present
|
if: type IN (push) AND tag IS present
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user