From 81236347bbc90031cf7cb4f85f1e8425ea395301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Rudowicz?= Date: Tue, 25 Feb 2025 20:18:10 +0100 Subject: [PATCH] did i mention that i hate bash --- .forgejo/workflows/test_workflow.yml | 4 ++-- upload-artifact/action.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/test_workflow.yml b/.forgejo/workflows/test_workflow.yml index 6ba8f08..efe6bab 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@test8 + - uses: https://codeberg.org/fleg/light-actions/checkout@test9 - 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@test8 + - uses: https://codeberg.org/fleg/light-actions/upload-artifact@test9 with: path: test.txt artifact-name: test-artifact diff --git a/upload-artifact/action.yml b/upload-artifact/action.yml index 888fe88..7b31a92 100644 --- a/upload-artifact/action.yml +++ b/upload-artifact/action.yml @@ -21,7 +21,7 @@ runs: --header "Authorization: Bearer ${{ github.token }}" \ --header 'Accept: application/json;api-version=6.0-preview' \ --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 )"