From 8a5d6f28fc454b5728d7c47b55c748e067e6a12b Mon Sep 17 00:00:00 2001 From: Oleksandr Porunov Date: Mon, 16 Aug 2021 13:26:56 +0300 Subject: [PATCH 1/2] Mapped CI release Signed-off-by: Oleksandr Porunov --- .github/workflows/ci-mapped.yml | 43 +++++++++++++++++++++++++++++++++ pom.xml | 10 +++++--- 2 files changed, 49 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/ci-mapped.yml diff --git a/.github/workflows/ci-mapped.yml b/.github/workflows/ci-mapped.yml new file mode 100644 index 0000000000..891ad8fe61 --- /dev/null +++ b/.github/workflows/ci-mapped.yml @@ -0,0 +1,43 @@ +# Copyright 2021 JanusGraph Authors +# +# Licensed 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: Publish package to GitHub Packages +on: + release: + types: [created] +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v2 + with: + java-version: '8' + distribution: 'adopt' + + - name: Setup unique version + run: mvn versions:set -DnewVersion=$(date +%s) -DgenerateBackupPoms=false + + - name: Compile and prepare release + run: mvn clean install -Pjanusgraph-release -Dgpg.skip=true -DskipTests=true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Deploy release + run: mvn deploy -Pjanusgraph-release -Dgpg.skip=true -DskipTests=true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/pom.xml b/pom.xml index 018401c39a..62022b1849 100644 --- a/pom.xml +++ b/pom.xml @@ -46,12 +46,14 @@ - ossrh - https://oss.sonatype.org/content/repositories/snapshots + github + GitHub Packages + https://maven.pkg.github.com/mapped/janusgraph - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + github + GitHub Packages + https://maven.pkg.github.com/mapped/janusgraph From a4bc105a361b3fa549d6dc48e1cef5b579f1a66c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 17 Jul 2022 02:31:24 +0000 Subject: [PATCH 2/2] Bump netty4.version from 4.1.78.Final to 4.1.79.Final Bumps `netty4.version` from 4.1.78.Final to 4.1.79.Final. Updates `netty-all` from 4.1.78.Final to 4.1.79.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](https://github.com/netty/netty/compare/netty-4.1.78.Final...netty-4.1.79.Final) Updates `netty-handler` from 4.1.78.Final to 4.1.79.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](https://github.com/netty/netty/compare/netty-4.1.78.Final...netty-4.1.79.Final) Updates `netty-common` from 4.1.78.Final to 4.1.79.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](https://github.com/netty/netty/compare/netty-4.1.78.Final...netty-4.1.79.Final) Updates `netty-resolver` from 4.1.78.Final to 4.1.79.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](https://github.com/netty/netty/compare/netty-4.1.78.Final...netty-4.1.79.Final) Updates `netty-codec` from 4.1.78.Final to 4.1.79.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](https://github.com/netty/netty/compare/netty-4.1.78.Final...netty-4.1.79.Final) Updates `netty-transport` from 4.1.78.Final to 4.1.79.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](https://github.com/netty/netty/compare/netty-4.1.78.Final...netty-4.1.79.Final) Updates `netty-buffer` from 4.1.78.Final to 4.1.79.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](https://github.com/netty/netty/compare/netty-4.1.78.Final...netty-4.1.79.Final) Updates `netty-transport-native-epoll` from 4.1.78.Final to 4.1.79.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](https://github.com/netty/netty/compare/netty-4.1.78.Final...netty-4.1.79.Final) Updates `netty-transport-native-unix-common` from 4.1.78.Final to 4.1.79.Final - [Release notes](https://github.com/netty/netty/releases) - [Commits](https://github.com/netty/netty/compare/netty-4.1.78.Final...netty-4.1.79.Final) --- updated-dependencies: - dependency-name: io.netty:netty-all dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: io.netty:netty-handler dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: io.netty:netty-common dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: io.netty:netty-resolver dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: io.netty:netty-codec dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: io.netty:netty-transport dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: io.netty:netty-buffer dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: io.netty:netty-transport-native-epoll dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: io.netty:netty-transport-native-unix-common dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 62022b1849..1aa6e384eb 100644 --- a/pom.xml +++ b/pom.xml @@ -85,7 +85,7 @@ 3.2.2 3.6.2 - 4.1.78.Final + 4.1.79.Final 5.10.0 UTF-8 UTF-8