more unescaping
This commit is contained in:
parent
5fc0227a47
commit
714f8a33a2
|
|
@ -6,7 +6,7 @@ jobs:
|
|||
container:
|
||||
image: git.hswro.org/fleg/actions-experiments:latest
|
||||
steps:
|
||||
- uses: https://codeberg.org/fleg/light-actions/checkout@test2
|
||||
- uses: https://codeberg.org/fleg/light-actions/checkout@test3
|
||||
- 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@test2
|
||||
- uses: https://codeberg.org/fleg/light-actions/upload-artifact@test3
|
||||
with:
|
||||
path: test.txt
|
||||
artifact-name: test-artifact
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ runs:
|
|||
- run: |
|
||||
set -euxo pipefail
|
||||
ARTIFACT_BASE="${ACTIONS_RUNTIME_URL}_apis/pipelines/workflows/${GITHUB_RUN_ID}/artifacts?api-version=6.0-preview"
|
||||
echo test: ${ACTIONS_RUNTIME_TOKEN}
|
||||
RESOURCE_URL="$(
|
||||
curl \
|
||||
-XPOST \
|
||||
|
|
@ -22,7 +23,7 @@ runs:
|
|||
--header \"Authorization: Bearer ${ACTIONS_RUNTIME_TOKEN}\" \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data '{\"type\": \"actions_storage\", \"name\": \"${{ inputs.artifact-name }}\"}' \
|
||||
\"$ARTIFACT_BASE\" | jq --exit-status --raw-output .fileContainerResourceUrl
|
||||
$ARTIFACT_BASE | jq --exit-status --raw-output .fileContainerResourceUrl
|
||||
)"
|
||||
|
||||
curl \
|
||||
|
|
|
|||
Loading…
Reference in New Issue