Skip to content

Commit 89d194d

Browse files
authored
Merge pull request #780 from wagnerb3/main
Pass GitHub SHA to publisher
2 parents b497e53 + 5eec5d3 commit 89d194d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/github_workflows/run-publisher.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# Set the COMMIT_ID env variable
2626
- name: Set the Commit Id
2727
id: commit
28-
run: echo "commit_id=${GITHUB_SHA}" >> $GITHUB_ENV
28+
run: echo "commit_id=${GITHUB_SHA}" >> $GITHUB_OUTPUT
2929
outputs:
3030
commit_id: ${{ steps.commit.outputs.commit_id }}
3131
#Publish with Commit ID
@@ -39,7 +39,7 @@ jobs:
3939
API_MANAGEMENT_SERVICE_OUTPUT_FOLDER_PATH: apimartifacts # change this to the artifacts folder
4040
secrets: inherit
4141

42-
#Publish without Commit ID. Publishes all artifacts that reside in the artifacts forlder
42+
#Publish without Commit ID. Publishes all artifacts that reside in the artifacts folder
4343
Push-Changes-To-APIM-Dev-Without-Commit-ID:
4444
if: ( github.event.inputs.COMMIT_ID_CHOICE == 'publish-all-artifacts-in-repo' )
4545
needs: get-commit

0 commit comments

Comments
 (0)