diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8c3f3a32..1c40af12 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -390,6 +390,21 @@ jobs: pixi run python --version | grep -q 3.11 pixi run test | grep -q "Hello world" + debug: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - name: Move pixi.toml + run: mv test/default/* . + # test that setup-pixi does debug logging + - uses: ./ + env: + ACTIONS_STEP_DEBUG: true + - run: pixi run python --version | grep -q 3.11 + test-cache1: name: Test cache 1/2 timeout-minutes: 10 diff --git a/README.md b/README.md index 7e72cb4f..da1e7f4a 100644 --- a/README.md +++ b/README.md @@ -164,12 +164,12 @@ There are two types of debug logging that you can enable. #### Debug logging of the action The first one is the debug logging of the action itself. -This can be enabled by running the action with the `RUNNER_DEBUG` environment variable set to `true`. +This can be enabled by running the action with the `ACTIONS_RUNNER_DEBUG` environment variable set to `true`. ```yml - uses: prefix-dev/setup-pixi@v0.4.1 env: - RUNNER_DEBUG: true + ACTIONS_RUNNER_DEBUG: true ``` Alternatively, you can enable debug logging for the action by re-running the action in debug mode: