Skip to content

Commit

Permalink
Moved workflow back to .github/workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jmigueprieto committed Sep 17, 2024
1 parent 86cc22a commit b1ed66f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
name: Java Client v3 Build

on:
workflow_call:
push:
branches:
- main
paths:
- 'conductor-clients/java/conductor-java-sdk/**'
pull_request:
branches:
- main
paths:
- 'conductor-clients/java/conductor-java-sdk/**'
workflow_dispatch:

jobs:
build:
Expand All @@ -19,7 +29,7 @@ jobs:
run: |
hostname
echo "host is $HOSTNAME"
cd conductor-clients/java
cd conductor-clients/java/conductor-java-sdk
./gradlew clean build
env:
CONDUCTOR_SERVER_URL: ${{ secrets.CONDUCTOR_SERVER_URL }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
export VERSION="${{ github.event.inputs.version }}"
export CONDUCTOR_CLIENT_VERSION=`echo ${VERSION:1}`
echo Publishing version $CONDUCTOR_CLIENT_VERSION
cd conductor-clients/java
cd conductor-clients/java/conductor-java-sdk
./gradlew publish -Pversion=$CONDUCTOR_CLIENT_VERSION -PmavenCentral=${{ github.event.inputs.maven_central }} -Pusername=${{ secrets.SONATYPE_USERNAME }} -Ppassword=${{ secrets.SONATYPE_PASSWORD }}
env:
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.SIGNING_KEY_ID }}
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/java-client-v3-ci.yml

This file was deleted.

0 comments on commit b1ed66f

Please sign in to comment.