From 8c25cc878d34c63fd0b7d12db69b8df7ace96933 Mon Sep 17 00:00:00 2001 From: Chl Date: Thu, 29 Aug 2024 02:31:10 +0200 Subject: [PATCH] little try 2 --- .forgejo/workflows/generate-release-zipfile.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/generate-release-zipfile.yml b/.forgejo/workflows/generate-release-zipfile.yml index 34fab6c..a487477 100644 --- a/.forgejo/workflows/generate-release-zipfile.yml +++ b/.forgejo/workflows/generate-release-zipfile.yml @@ -21,13 +21,22 @@ jobs: echo ratata >> 'tutu tutu*.txt' ls -R + - name: little test + run: printf "url: %s\nThe end." "${{ github.server_url }}/${{ github.repository }}@${{ github.env.RELEVANT_SHA }}" + 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 }}" + 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: Is there any output for the previous step ? run: |