File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 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"
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"
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments