Skip to content

Commit 0dd94c2

Browse files
committed
Add artificial wait
1 parent 85e2627 commit 0dd94c2

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ jobs:
6969
RAO_PASSWORD: ${{ secrets.RAO_PASSWORD }}
7070
TAG_NAME: "${{ inputs.distribution-owner-namespace }}-${{ inputs.distribution-package }}-${{ inputs.distribution-version }}"
7171
steps:
72-
72+
- name: Sleep for 5 seconds
73+
run: sleep 5s
74+
shell: bash
7375
- name: Create settings.xml
7476
run: |
7577
mkdir -p ~/.m2
@@ -192,7 +194,7 @@ jobs:
192194
--arg workflow "$WORKFLOW" \
193195
--arg run_id $RUN_ID \
194196
--arg project_name "$INPUTS_PROJECT" \
195-
'{publisher:$publisher, jwt:$jwt, workflow:$workflow, run_id:$run_id, project_name:$project_name, status:"in-progress", message:"Compiling distribution"}' |
197+
'{publisher:$publisher, jwt:$jwt, workflow:$workflow, run_id:$run_id, project_name:$project_name, status:"in_progress", message:"Compiling distribution"}' |
196198
curl -sS --fail-with-body -k -X POST -H 'Content-Type: application/json' -d @- \
197199
"https://${ATR_HOST}/api/distribute/task/status"
198200
env:
@@ -302,7 +304,7 @@ jobs:
302304
--arg workflow "$WORKFLOW" \
303305
--arg run_id $RUN_ID \
304306
--arg project_name "$INPUTS_PROJECT" \
305-
'{publisher:$publisher, jwt:$jwt, workflow:$workflow, run_id:$run_id, project_name:$project_name, status:"in-progress", message:"Recording distribution"}' |
307+
'{publisher:$publisher, jwt:$jwt, workflow:$workflow, run_id:$run_id, project_name:$project_name, status:"in_progress", message:"Recording distribution"}' |
306308
curl -sS --fail-with-body -X POST -H 'Content-Type: application/json' -d @- \
307309
"https://${ATR_HOST}/api/distribute/task/status"
308310
env:

0 commit comments

Comments
 (0)