diff --git a/.github/actions/acc_test/action.yaml b/.github/actions/acc_test/action.yaml index 00988c4d..8d88be75 100644 --- a/.github/actions/acc_test/action.yaml +++ b/.github/actions/acc_test/action.yaml @@ -44,7 +44,7 @@ inputs: service_account_json_file_path: description: "STACKIT service account JSON file contents" required: true - default: "~/.stackit/credentials.json" + default: '~/.stackit/credentials.json' test_file: description: "testfile to run" @@ -105,6 +105,7 @@ runs: - name: Crete service account file shell: bash run: | + mkdir -p dirname "$(realpath ${{ inputs.service_account_json_file_path }})" echo "${{ inputs.service_account_json }}" > "${{ inputs.service_account_json_file_path }}" cat "${{ inputs.service_account_json_file_path }}" diff --git a/.github/actions/build/action.yaml b/.github/actions/build/action.yaml index 86d24b0f..7bea976a 100644 --- a/.github/actions/build/action.yaml +++ b/.github/actions/build/action.yaml @@ -37,7 +37,8 @@ runs: id: goenv run: | set -e - echo "::set-output name=gomodcache::$(go env GOMODCACHE)" + # echo "::set-output name=gomodcache::$(go env GOMODCACHE)" + echo "gomodcache=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT" - name: Restore cached GO pkg id: cache-gopkg diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6865e0d5..224a5a47 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -62,7 +62,8 @@ jobs: id: goenv run: | set -e - echo "::set-output name=gomodcache::$(go env GOMODCACHE)" + # echo "::set-output name=gomodcache::$(go env GOMODCACHE)" + echo "gomodcache=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT" - name: Restore cached GO pkg id: cache-gopkg