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/deploy-brokers.actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy Suite-Common module only

on: workflow_dispatch

env:
GH_USERNAME: ${{ secrets.GH_USERNAME }}
ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Add permission to gradle"
run: chmod +x gradlew
- name: "Deploy 'brokers' to Github Registry"
run: ./gradlew --build-file=suite-brokers/build.gradle publish
4 changes: 4 additions & 0 deletions .github/workflows/deploy-common.actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Deploy Suite-Common module only

on: workflow_dispatch

env:
GH_USERNAME: ${{ secrets.GH_USERNAME }}
ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/deploy-reactive.actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy Suite-Common module only

on: workflow_dispatch

env:
GH_USERNAME: ${{ secrets.GH_USERNAME }}
ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Add permission to gradle"
run: chmod +x gradlew
- name: "Deploy 'reactive' to Github Registry"
run: ./gradlew --build-file=suite-reactive/build.gradle publish
17 changes: 17 additions & 0 deletions .github/workflows/deploy-security.actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy Suite-Common module only

on: workflow_dispatch

env:
GH_USERNAME: ${{ secrets.GH_USERNAME }}
ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Add permission to gradle"
run: chmod +x gradlew
- name: "Deploy 'reactive' to Github Registry"
run: ./gradlew --build-file=suite-security/build.gradle publish
13 changes: 13 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,20 @@ subprojects {
apply plugin: 'maven-publish'

afterEvaluate {

publishing {

repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/Project-Sonata/Suite")
credentials {
username = System.getenv("GH_USERNAME")
password = System.getenv("ACCESS_TOKEN")
}
}
}

publications {
mavenJava(MavenPublication) {
from components.java
Expand Down