diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50a768c..9b6ee1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - name: Check if there is a parent commit id: check-parent-commit run: | - echo "::set-output name=sha::$(git rev-parse --verify --quiet HEAD^)" + echo "{sha}={$(git rev-parse --verify --quiet HEAD^)}" >> $GITHUB_OUTPUT - name: Detect and tag new version id: check-version @@ -68,7 +68,7 @@ jobs: with: user: __token__ password: ${{ secrets.TEST_PYPI_TOKEN }} - repository_url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/ - name: Publish the release notes uses: release-drafter/release-drafter@v5.24.0 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d6046d6..9029ce0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -76,7 +76,7 @@ jobs: digest = hashlib.sha256(payload).hexdigest() result = "${{ runner.os }}-{}-{}-pre-commit".format(python, digest[:8]) - print("::set-output name=result::{}".format(result)) + print("name={}".format(result)) - name: Restore pre-commit cache uses: actions/cache@v3