let's try changing env variable
This commit is contained in:
parent
29dccddd38
commit
7efa3470c6
|
|
@ -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@test4
|
- uses: https://codeberg.org/fleg/light-actions/checkout@test5
|
||||||
- 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@test4
|
- uses: https://codeberg.org/fleg/light-actions/upload-artifact@test5
|
||||||
with:
|
with:
|
||||||
path: test.txt
|
path: test.txt
|
||||||
artifact-name: test-artifact
|
artifact-name: test-artifact
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@ runs:
|
||||||
-XPOST \
|
-XPOST \
|
||||||
--silent \
|
--silent \
|
||||||
--fail-with-body \
|
--fail-with-body \
|
||||||
|
--header \'Authorization: Bearer ${GITHUB_TOKEN}\' \
|
||||||
--header 'Accept: application/json;api-version=6.0-preview' \
|
--header 'Accept: application/json;api-version=6.0-preview' \
|
||||||
--header \"Authorization: Bearer ${ACTIONS_RUNTIME_TOKEN}\" \
|
|
||||||
--header 'Content-Type: application/json' \
|
--header 'Content-Type: application/json' \
|
||||||
--data '{\"type\": \"actions_storage\", \"name\": \"${{ inputs.artifact-name }}\"}' \
|
--data '{\"type\": \"actions_storage\", \"name\": \"${{ inputs.artifact-name }}\"}' \
|
||||||
$ARTIFACT_BASE | tee /dev/stderr | jq --exit-status --raw-output .fileContainerResourceUrl
|
$ARTIFACT_BASE | tee /dev/stderr | jq --exit-status --raw-output .fileContainerResourceUrl
|
||||||
|
|
@ -30,7 +30,7 @@ runs:
|
||||||
--silent \
|
--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 ${ACTIONS_RUNTIME_TOKEN}\" \
|
--header \"Authorization: Bearer ${GITHUB_TOKEN}\" \
|
||||||
--header 'Content-Type: application/octet-stream' \
|
--header 'Content-Type: application/octet-stream' \
|
||||||
--header "Content-Range: bytes 0-$(echo \"$(wc -c < ${{ inputs.path }}) - 1 | wc")/$(wc -c < ${{ inputs.path }})" \
|
--header "Content-Range: bytes 0-$(echo \"$(wc -c < ${{ inputs.path }}) - 1 | wc")/$(wc -c < ${{ inputs.path }})" \
|
||||||
--data-binary "@${{ inputs.path }}" \
|
--data-binary "@${{ inputs.path }}" \
|
||||||
|
|
@ -41,7 +41,7 @@ runs:
|
||||||
--silent \
|
--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 ${ACTIONS_RUNTIME_TOKEN}\" \
|
--header \"Authorization: Bearer ${GITHUB_TOKEN}\" \
|
||||||
--header 'Content-Type: application/json' \
|
--header 'Content-Type: application/json' \
|
||||||
--data '{"size": 11}' \
|
--data '{"size": 11}' \
|
||||||
"${ARTIFACT_BASE}&artifactName=${{ inputs.artifact-name }}"
|
"${ARTIFACT_BASE}&artifactName=${{ inputs.artifact-name }}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue