Skip to content

Commit ffc26b1

Browse files
committed
Some logging fixes and working directory for maven
1 parent c42117f commit ffc26b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/distribute-maven-stg.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ jobs:
142142

143143
- name: Report status back to ATR
144144
shell: bash
145-
if: always()
146145
run: |
147146
set -euxo pipefail
148147
jq -n --arg publisher github \
@@ -186,6 +185,7 @@ jobs:
186185
SSH_PRIVATE_KEY_PATH: ${{ steps.generate-ssh-key.outputs.ssh_private_key_path }}
187186

188187
- name: Build and stage locally
188+
working-directory: ./stg
189189
run: |
190190
mvn clean deploy -DaltDeploymentRepository=local::njord:
191191
@@ -204,6 +204,7 @@ jobs:
204204

205205

206206
- name: Get store ID and publish
207+
working-directory: ./stg
207208
run: |
208209
STORE_ID=$(mvn njord:list -q | grep -oP '$INPUTS_DISTRIBUTION_PACKAGE-\d+' | tail -1)
209210
echo "Publishing store: $STORE_ID"
@@ -215,7 +216,6 @@ jobs:
215216

216217
- name: Report status back to ATR
217218
shell: bash
218-
if: always()
219219
run: |
220220
set -euxo pipefail
221221
jq -n --arg publisher github \

0 commit comments

Comments
 (0)