You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2020/03/28 17:06:41 UTC
[groovy] branch upload-artifacts updated (7c2b9cf -> 6e8f486)
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a change to branch upload-artifacts
in repository https://gitbox.apache.org/repos/asf/groovy.git.
discard 7c2b9cf Build and upload artifacts
discard c863b9c Build and upload artifacts
discard dde7e2f Build and upload artifacts
discard d3b8a69 Build and upload artifacts
new 6e8f486 Add a workflow to distribute snapshot on github
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (7c2b9cf)
\
N -- N -- N refs/heads/upload-artifacts (6e8f486)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/gradle-snapshot-distribution.yml | 14 ++++----
...gradle-snapshot-distribution.yml => gradle.yml} | 39 ++++++++++++++--------
2 files changed, 31 insertions(+), 22 deletions(-)
copy .github/workflows/{gradle-snapshot-distribution.yml => gradle.yml} (62%)
[groovy] 01/01: Add a workflow to distribute snapshot on github
Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch upload-artifacts
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 6e8f48678ede75b333de11ffa9aa303c0e704940
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sun Mar 29 01:06:01 2020 +0800
Add a workflow to distribute snapshot on github
---
.github/workflows/gradle-snapshot-distribution.yml | 43 ++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/.github/workflows/gradle-snapshot-distribution.yml b/.github/workflows/gradle-snapshot-distribution.yml
new file mode 100644
index 0000000..8929756
--- /dev/null
+++ b/.github/workflows/gradle-snapshot-distribution.yml
@@ -0,0 +1,43 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+name: "Distribute Groovy SNAPSHOT"
+
+on: [push, pull_request]
+
+jobs:
+ dist:
+ strategy:
+ fail-fast: true
+ matrix:
+ os: [ubuntu-18.04]
+ java: [11.0.5]
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up JDK
+ uses: actions/setup-java@v1
+ with:
+ java-version: ${{ matrix.java }}
+ - name: Build and package
+ run: ./gradlew clean dist --no-build-cache --no-scan
+ timeout-minutes: 60
+ - name: Remove redundant artifacts
+ run: rm -f target/distributions/apache-groovy-{src,sdk}-*.zip
+ - name: Upload artifacts
+ uses: actions/upload-artifact@v1
+ with:
+ name: apache-groovy-SNAPSHOT
+ path: target/distributions/