diff --git a/.forgejo/workflows/generate-release-zipfile.yml b/.forgejo/workflows/generate-release-zipfile.yml index 9f8d8b6..fd86592 100644 --- a/.forgejo/workflows/generate-release-zipfile.yml +++ b/.forgejo/workflows/generate-release-zipfile.yml @@ -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: |