diff --git a/.forgejo/workflows/test_workflow.yml b/.forgejo/workflows/test_workflow.yml index 6c89c57..c53bffd 100644 --- a/.forgejo/workflows/test_workflow.yml +++ b/.forgejo/workflows/test_workflow.yml @@ -6,7 +6,7 @@ jobs: container: image: git.hswro.org/fleg/actions-experiments:latest steps: - - uses: https://codeberg.org/fleg/light-actions/checkout@test14 + - uses: https://codeberg.org/fleg/light-actions/checkout@test15 - run: cat README.md upload-artifact: runs-on: docker @@ -14,7 +14,7 @@ jobs: image: git.hswro.org/fleg/actions-experiments:latest steps: - 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: path: test.txt artifact-name: test-artifact diff --git a/upload-artifact/action.yml b/upload-artifact/action.yml index 5fdd10a..ae8e915 100644 --- a/upload-artifact/action.yml +++ b/upload-artifact/action.yml @@ -30,7 +30,6 @@ runs: curl \ -XPUT \ - --silent \ --fail-with-body \ --header 'Accept: application/json;api-version=6.0-preview' \ --header "Authorization: Bearer ${{ github.token }}" \ @@ -39,7 +38,7 @@ runs: --header "content-length: ${FILE_SIZE_BYTES}" \ --header "x-actions-results-md5: ${FILE_MD5}" \ --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 }})" curl \