GitHub Actions: build on all branches; produce snapshots only on master branch; disable Travis CI

This commit is contained in:
Karl Tauber
2020-11-21 17:31:52 +01:00
parent 18e838bffd
commit 80bdf69eaf
2 changed files with 7 additions and 49 deletions

View File

@@ -5,12 +5,12 @@ name: CI
on:
push:
branches:
- github-actions
- '*'
tags:
- '[0-9]*'
pull_request:
branches:
- github-actions
- '*'
jobs:
build:
@@ -24,11 +24,11 @@ jobs:
# - Java LTS versions (11, 17, ...)
# - lastest Java version(s)
java:
# - 1.8
# - 9
- 1.8
- 9
- 11 # LTS
# - 14
# - 15
- 14
- 15
steps:
- uses: actions/checkout@v2
@@ -74,9 +74,8 @@ jobs:
runs-on: ubuntu-latest
needs: build
if: |
false &&
github.event_name == 'push' &&
github.ref == 'refs/heads/github-actions' &&
github.ref == 'refs/heads/master' &&
github.repository == 'JFormDesigner/FlatLaf'
steps: