let's disable silent and see what we get
/ checkout (push) Successful in 3s Details
/ upload-artifact (push) Failing after 2s Details

This commit is contained in:
Michał Rudowicz 2025-02-25 21:06:15 +01:00
parent ade9dc7611
commit e6ca247176
2 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,7 @@ jobs:
container: container:
image: git.hswro.org/fleg/actions-experiments:latest image: git.hswro.org/fleg/actions-experiments:latest
steps: steps:
- uses: https://codeberg.org/fleg/light-actions/checkout@test14 - uses: https://codeberg.org/fleg/light-actions/checkout@test15
- run: cat README.md - run: cat README.md
upload-artifact: upload-artifact:
runs-on: docker runs-on: docker
@ -14,7 +14,7 @@ jobs:
image: git.hswro.org/fleg/actions-experiments:latest image: git.hswro.org/fleg/actions-experiments:latest
steps: steps:
- run: echo "test passed" > test.txt - run: echo "test passed" > test.txt
- uses: https://codeberg.org/fleg/light-actions/upload-artifact@test14 - uses: https://codeberg.org/fleg/light-actions/upload-artifact@test15
with: with:
path: test.txt path: test.txt
artifact-name: test-artifact artifact-name: test-artifact

View File

@ -30,7 +30,6 @@ runs:
curl \ curl \
-XPUT \ -XPUT \
--silent \
--fail-with-body \ --fail-with-body \
--header 'Accept: application/json;api-version=6.0-preview' \ --header 'Accept: application/json;api-version=6.0-preview' \
--header "Authorization: Bearer ${{ github.token }}" \ --header "Authorization: Bearer ${{ github.token }}" \
@ -39,7 +38,7 @@ runs:
--header "content-length: ${FILE_SIZE_BYTES}" \ --header "content-length: ${FILE_SIZE_BYTES}" \
--header "x-actions-results-md5: ${FILE_MD5}" \ --header "x-actions-results-md5: ${FILE_MD5}" \
--header "Content-Range: bytes 0-${FILE_SIZE_BYTES_MINUS_ONE}/${FILE_SIZE_BYTES}" \ --header "Content-Range: bytes 0-${FILE_SIZE_BYTES_MINUS_ONE}/${FILE_SIZE_BYTES}" \
--data @${{ inputs.path }} \ --data-binary @${{ inputs.path }} \
"${RESOURCE_URL}?itemPath=${{ inputs.artifact-name }}/$(basename ${{ inputs.path }})" "${RESOURCE_URL}?itemPath=${{ inputs.artifact-name }}/$(basename ${{ inputs.path }})"
curl \ curl \