diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 73b0344..36608b1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,9 +9,13 @@ jobs: steps: - uses: actions/checkout@v4 - id: load + # based on https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings run: | - JSON=$(cat ./.python-versions.json) - echo "::set-output name=json::${JSON//'%'/'%25'}" + { + echo 'json<> $GITHUB_OUTPUT ci: needs: config runs-on: ubuntu-latest