diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index fcc7ed3f..754ed21a 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -11,7 +11,7 @@ on: jobs: benchmarks: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v3 @@ -21,7 +21,7 @@ jobs: - name: Get full Python version id: full-python-version run: | - echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") + echo version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") >> $GITHUB_OUTPUT - name: Install poetry run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba9ff30b..4c78f375 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -128,7 +128,7 @@ jobs: id: check-version run: | [[ "${GITHUB_REF#refs/tags/}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] \ - || echo ::set-output name=prerelease::true + || echo prerelease=true >> $GITHUB_OUTPUT - name: Create Release uses: ncipollo/release-action@v1 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 90360f04..4a85b79b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -50,7 +50,7 @@ jobs: - name: Get full Python version id: full-python-version run: | - echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") + echo version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") >> $GITHUB_OUTPUT - name: Install poetry run: |