diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7493d48..92fdc10 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,14 +33,14 @@ jobs: - name: Clingo version id: clingo-version run: | - python -c "import clingo; print(clingo.__version__)" >> $GITHUB_OUTPUT + CLINGO_VERSION=$(python -c "import clingo; print(clingo.__version__)") >> $$GITHUB_ENV - name: Cache nox id: cache-nox uses: actions/cache@v3 with: path: .nox - key: ${{ runner.os }}-python-${{ matrix.python-version }}-clingo-$GITHUB_OUTPUT-nox + key: ${{ runner.os }}-python-${{ matrix.python-version }}-clingo-${{ env.CLINGO_VERSION }} -nox - name: Info run: |