on: push: jobs: GenerateReleaseZipfile: runs-on: docker container: image: entrepot.xlii.si/actions/alpine-wget-git-zip:latest steps: - name: Generate some content run: | set -ex mkdir toto echo tata > toto/tata.txt echo titi > toto/titi.txt echo titi titi > "toto/titi titi.txt" echo tutu > tutu.txt echo tutu >> tutu.txt echo tutuuuuu >> tutu2.txt echo tutuuuuu >> "tutu tutu.txt" echo ratata >> 'tutu tutu*.txt' ls -R - name: little test run: | printf "url:\n%s\n%s\n%s\nThe end." \ "${{ github.server_url }}" \ "${{ github.repository }}" \ "${{ 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.sha }}" with: path: | toto tutu* - name: Is there any output for the previous step ? run: | set -x printf "steps.uploading.outputs.artifact-id: %s\n" "${{ steps.uploading.outputs.artifact-id }}"