Skip to content

Commit

Permalink
Change working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
s-rubenstein committed Apr 27, 2021
1 parent 779c559 commit 62f9e72
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,13 @@ jobs:
run: bash scripts/gen_java_client.sh

- name: Publish java client for merge
working-directory: codegen_java
id: publishJavaClientSnapshot
if: ${{steps.extractBranch.outputs.branch == 'develop'}}
run: |
run: cd codegen_java
sbt "+ publish" -Dproject.isSnapshot=false
run: sbt "+ publish" -Dproject.isSnapshot=false

- name: Publish java client as snapshot for PRs
working-directory: codegen_java
id: publishJavaClient
if: ${{steps.extractBranch.outputs.branch != 'develop'}}
run: |
run: cd codegen_java
sbt "+ publish" -Dproject.isSnapshot=true
run: sbt "+ publish" -Dproject.isSnapshot=true

0 comments on commit 62f9e72

Please sign in to comment.