From bcb9c7ec166ad180586550d22720f26de9802624 Mon Sep 17 00:00:00 2001 From: Dominique Marcadet Date: Wed, 15 May 2024 15:11:22 +0200 Subject: [PATCH] add workflows --- .../workflows/Release-On-Maven-Central.yml | 34 +++++++++++++++++++ .github/workflows/Verify.yml | 32 +++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 .github/workflows/Release-On-Maven-Central.yml create mode 100644 .github/workflows/Verify.yml diff --git a/.github/workflows/Release-On-Maven-Central.yml b/.github/workflows/Release-On-Maven-Central.yml new file mode 100644 index 0000000..4a636a9 --- /dev/null +++ b/.github/workflows/Release-On-Maven-Central.yml @@ -0,0 +1,34 @@ +# ************************************************************************* +# ** Copyright (c) 2024 CentraleSupélec & EDF. +# ** All rights reserved. This program and the accompanying materials +# ** are made available under the terms of the Eclipse Public License v2.0 +# ** which accompanies this distribution, and is available at +# ** https://www.eclipse.org/legal/epl-v20.html +# ** +# ** This file is part of the RiseClipse tool +# ** +# ** Contributors: +# ** Computer Science Department, CentraleSupélec +# ** EDF R&D +# ** Contacts: +# ** dominique.marcadet@centralesupelec.fr +# ** aurelie.dehouck-neveu@edf.fr +# ** Web site: +# ** https://riseclipse.github.io +# ************************************************************************* + +name: Release on OSSRH and Maven Central + +on: + workflow_dispatch: # Triggered manually for Release + +jobs: + call-release-on-ossrh-and-maven-central-workflow: + name: Release on OSSRH and Maven Central with Maven + uses: riseclipse/riseclipse-developer/.github/workflows/Shared-Release-On-Maven-Central.yml@master + secrets: + RISECLIPSE_PGP_KEY_PRIVATE: ${{ secrets.RISECLIPSE_PGP_KEY_PRIVATE }} + RISECLIPSE_PGP_KEY_PASSWORD: ${{ secrets.RISECLIPSE_PGP_KEY_PASSWORD }} + RISECLIPSE_OSSRH_USERNAME: ${{ secrets.RISECLIPSE_OSSRH_USERNAME }} + RISECLIPSE_OSSRH_PASSWORD: ${{ secrets.RISECLIPSE_OSSRH_PASSWORD }} + diff --git a/.github/workflows/Verify.yml b/.github/workflows/Verify.yml new file mode 100644 index 0000000..41f16a7 --- /dev/null +++ b/.github/workflows/Verify.yml @@ -0,0 +1,32 @@ +# ************************************************************************* +# ** Copyright (c) 2024 CentraleSupélec & EDF. +# ** All rights reserved. This program and the accompanying materials +# ** are made available under the terms of the Eclipse Public License v2.0 +# ** which accompanies this distribution, and is available at +# ** https://www.eclipse.org/legal/epl-v20.html +# ** +# ** This file is part of the RiseClipse tool +# ** +# ** Contributors: +# ** Computer Science Department, CentraleSupélec +# ** EDF R&D +# ** Contacts: +# ** dominique.marcadet@centralesupelec.fr +# ** aurelie.dehouck-neveu@edf.fr +# ** Web site: +# ** https://riseclipse.github.io +# ************************************************************************* + +name: Build + +# This workflow is triggered on every push to verify that the project builds correctly and runs Sonar + Unit tests + +on: + push + +jobs: + call-verify-workflow: + name: Verify Project + uses: riseclipse/riseclipse-developer/.github/workflows/Shared-Verify-Components.yml@master + secrets: + SONAR_TOKEN: ${{ secrets.RISECLIPSE_SONAR_TOKEN }}