Skip to content

Commit

Permalink
add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
marcadetd committed May 15, 2024
1 parent 3d2b620 commit bcb9c7e
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/Release-On-Maven-Central.yml
Original file line number Diff line number Diff line change
@@ -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:
# ** [email protected]
# ** [email protected]
# ** 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 }}

32 changes: 32 additions & 0 deletions .github/workflows/Verify.yml
Original file line number Diff line number Diff line change
@@ -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:
# ** [email protected]
# ** [email protected]
# ** 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 }}

0 comments on commit bcb9c7e

Please sign in to comment.