Skip to content

Commit 7748da7

Browse files
fix the artefact username var
1 parent 9f6ce4f commit 7748da7

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/ci-draft.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,7 @@ jobs:
7171
run: |
7272
VERSION=${{ needs.Artefact-Version.outputs.draft_version }}
7373
74-
gradle build \
75-
-DAPI_SPEC_VERSION=$VERSION \
76-
-DGITHUB_REPOSITORY=${{ github.repository }} \
77-
-DGITHUB_ACTOR=${{ github.actor }} \
78-
-DGITHUB_TOKEN=$GITHUB_TOKEN
74+
gradle build -DAPI_SPEC_VERSION=$VERSION
7975
8076
if [ "${{ github.event_name }}" == "push" ]; then
8177
echo "Push event trigger - Publishing artefact"
@@ -84,7 +80,7 @@ jobs:
8480
-DGITHUB_REPOSITORY=${{ github.repository }} \
8581
-DGITHUB_ACTOR=${{ github.actor }} \
8682
-DGITHUB_TOKEN=$GITHUB_TOKEN \
87-
-DAZURE_DEVOPS_ARTIFACT_USERNAME=$HMCTS_ARTEFACT_ACTOR \
83+
-DAZURE_DEVOPS_ARTIFACT_USERNAME=$AZURE_DEVOPS_ARTIFACT_USERNAME \
8884
-DAZURE_DEVOPS_ARTIFACT_TOKEN=$AZURE_DEVOPS_ARTIFACT_TOKEN
8985
else
9086
echo "Skipping publish because this is a pull_request"

.github/workflows/ci-released.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
-DGITHUB_REPOSITORY=${{ github.repository }} \
5858
-DGITHUB_ACTOR=${{ github.actor }} \
5959
-DGITHUB_TOKEN=$GITHUB_TOKEN \
60-
-DAZURE_DEVOPS_ARTIFACT_USERNAME=$HMCTS_ARTEFACT_ACTOR \
60+
-DAZURE_DEVOPS_ARTIFACT_USERNAME=$AZURE_DEVOPS_ARTIFACT_USERNAME \
6161
-DAZURE_DEVOPS_ARTIFACT_TOKEN=$AZURE_DEVOPS_ARTIFACT_TOKEN
6262
6363
- name: Extract repo name

0 commit comments

Comments
 (0)