This commit is contained in:
parent
bdb9df40df
commit
064aef7815
1 changed files with 10 additions and 11 deletions
|
@ -26,27 +26,26 @@ jobs:
|
|||
printf "url:\n%s\n%s\n%s\nThe end." \
|
||||
"${{ github.server_url }}" \
|
||||
"${{ github.repository }}" \
|
||||
"${{ github.env.RELEVANT_SHA }}"
|
||||
"${{ github.sha }}"
|
||||
printf "mytest: %s\n" "$MYTEST"
|
||||
printf "mytest2: %s\n" "${{ github.env.MYTEST }}"
|
||||
printf "shapr: %s\n" "$SHAPR"
|
||||
printf "shagh: %s\n" "$SHAGH"
|
||||
printf "FULL_URL: %s\n" "$FULL_URL"
|
||||
env:
|
||||
RELEVANT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
|
||||
SHAPR: ${{ github.event.pull_request.head.sha }}
|
||||
SHAGH: ${{ github.event.pull_request.head.sha || github.sha }}
|
||||
MYTEST: "${{ github.server_url }}/${{ github.repository }}@${{ github.env.RELEVANT_SHA }}"
|
||||
FULL_URL: "${{ github.server_url }}/${{ github.repository }}@${{ github.sha }}"
|
||||
|
||||
# - name: Testing the artifact uploading
|
||||
# id: "uploading"
|
||||
# uses: "${{ github.server_url }}/${{ github.repository }}@${{ github.env.RELEVANT_SHA }}"
|
||||
# with:
|
||||
# path: |
|
||||
# toto
|
||||
# tutu*
|
||||
# env:
|
||||
# # from https://github.com/orgs/community/discussions/26325#discussioncomment-5397362
|
||||
# RELEVANT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
|
||||
- name: Testing the artifact uploading
|
||||
id: "uploading"
|
||||
uses: "${{ github.server_url }}/${{ github.repository }}@${{ github.sha }}"
|
||||
with:
|
||||
path: |
|
||||
toto
|
||||
tutu*
|
||||
|
||||
- name: Is there any output for the previous step ?
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue