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." \
|
printf "url:\n%s\n%s\n%s\nThe end." \
|
||||||
"${{ github.server_url }}" \
|
"${{ github.server_url }}" \
|
||||||
"${{ github.repository }}" \
|
"${{ github.repository }}" \
|
||||||
"${{ github.env.RELEVANT_SHA }}"
|
"${{ github.sha }}"
|
||||||
printf "mytest: %s\n" "$MYTEST"
|
printf "mytest: %s\n" "$MYTEST"
|
||||||
printf "mytest2: %s\n" "${{ github.env.MYTEST }}"
|
printf "mytest2: %s\n" "${{ github.env.MYTEST }}"
|
||||||
printf "shapr: %s\n" "$SHAPR"
|
printf "shapr: %s\n" "$SHAPR"
|
||||||
printf "shagh: %s\n" "$SHAGH"
|
printf "shagh: %s\n" "$SHAGH"
|
||||||
|
printf "FULL_URL: %s\n" "$FULL_URL"
|
||||||
env:
|
env:
|
||||||
RELEVANT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
|
RELEVANT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
|
||||||
SHAPR: ${{ github.event.pull_request.head.sha }}
|
SHAPR: ${{ github.event.pull_request.head.sha }}
|
||||||
SHAGH: ${{ github.event.pull_request.head.sha || github.sha }}
|
SHAGH: ${{ github.event.pull_request.head.sha || github.sha }}
|
||||||
MYTEST: "${{ github.server_url }}/${{ github.repository }}@${{ github.env.RELEVANT_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
|
- name: Testing the artifact uploading
|
||||||
# id: "uploading"
|
id: "uploading"
|
||||||
# uses: "${{ github.server_url }}/${{ github.repository }}@${{ github.env.RELEVANT_SHA }}"
|
uses: "${{ github.server_url }}/${{ github.repository }}@${{ github.sha }}"
|
||||||
# with:
|
with:
|
||||||
# path: |
|
path: |
|
||||||
# toto
|
toto
|
||||||
# tutu*
|
tutu*
|
||||||
# env:
|
|
||||||
# # from https://github.com/orgs/community/discussions/26325#discussioncomment-5397362
|
|
||||||
# RELEVANT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
|
|
||||||
|
|
||||||
- name: Is there any output for the previous step ?
|
- name: Is there any output for the previous step ?
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue