let's see changing data-binary to data

This commit is contained in:
Michał Rudowicz 2025-02-25 20:41:04 +01:00
parent 0f63361dd9
commit ade9dc7611
2 changed files with 3 additions and 3 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@test13 - uses: https://codeberg.org/fleg/light-actions/checkout@test14
- 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@test13 - uses: https://codeberg.org/fleg/light-actions/upload-artifact@test14
with: with:
path: test.txt path: test.txt
artifact-name: test-artifact artifact-name: test-artifact

View File

@ -39,7 +39,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-binary "@${{ inputs.path }}" \ --data @${{ inputs.path }} \
"${RESOURCE_URL}?itemPath=${{ inputs.artifact-name }}/$(basename ${{ inputs.path }})" "${RESOURCE_URL}?itemPath=${{ inputs.artifact-name }}/$(basename ${{ inputs.path }})"
curl \ curl \