From 111fac343553274962606ff2430e77a1a4598833 Mon Sep 17 00:00:00 2001 From: weisj Date: Tue, 9 Jun 2020 01:00:17 +0200 Subject: [PATCH] Added missing licence header. Scheduled nightly build for midnight every day. --- .github/workflows/snapshot.yml | 33 +++++++++++++++++++++++++++++---- build.gradle.kts | 1 - 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index f22ce7d9..e377b675 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -1,9 +1,34 @@ -name: Build SNAPSHOT +# +# MIT License +# +# Copyright (c) 2020 Jannis Weis +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# +# +name: Build nightly SNAPSHOT on: - push: - branches: - - 'master' + schedule: + # Midnight every day + - cron: "0 0 * * *" + jobs: linux: name: Linux (Java 8) diff --git a/build.gradle.kts b/build.gradle.kts index 673d2da1..ec50b020 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -233,7 +233,6 @@ allprojects { } } - tasks { withType().configureEach { options.encoding = "UTF-8"