Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/maven-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Java CI with Maven

on:
pull_request:
branches: [ "*" ]

jobs:
call-maven-ci:
uses: project-ncl/shared-github-actions/.github/workflows/maven-ci.yml@v0.0.12
19 changes: 19 additions & 0 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "0 Central Release Job" # Adding the 0 so that it's on top of the list of github actions
on:
workflow_dispatch: # Manual trigger so you don't release on every push
inputs:
ref_to_release:
description: '[Optional] Branch or commit to release. Default: Github default branch'
required: false
type: string
# default has to be a static string, no variables allowed
default: ''

jobs:
call-release-job:
permissions:
contents: write # needed to push commit and tag back to the repository
uses: project-ncl/shared-github-actions/.github/workflows/maven-release.yml@v0.0.12
with:
ref_to_release: ${{ inputs.ref_to_release }}
secrets: inherit
12 changes: 12 additions & 0 deletions .github/workflows/maven-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Build snapshot version and upload to Maven Central

on:
push:
branches: [ "main" ]

jobs:
call-snapshot-job:
uses: project-ncl/shared-github-actions/.github/workflows/maven-snapshot.yml@v0.0.12
with:
project_name: 'project-ncl/reqour'
secrets: inherit
Loading