diff options
author | staticdev <staticdev-support@protonmail.com> | 2022-12-16 21:23:25 +0100 |
---|---|---|
committer | staticdev <staticdev-support@protonmail.com> | 2022-12-16 21:23:25 +0100 |
commit | 1e33d78556271733eca65f6f377af823ca5f1945 (patch) | |
tree | ee671aed7f2cae15ecd35c0819a44dde8e4e0d96 /.github | |
parent | 21d7a028976e4b3319b5446c3ca9e2ee98f2f627 (diff) | |
download | isort-1e33d78556271733eca65f6f377af823ca5f1945.tar.gz |
Revert set-output changes
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yml | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 647d5deb..ea847283 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,11 +34,11 @@ jobs: - name: Check if there is a parent commit id: check-parent-commit run: | - echo "name=sha::$(git rev-parse --verify --quiet HEAD^)" >> $GITHUB_ENV + echo "::set-output name=sha::$(git rev-parse --verify --quiet HEAD^)" - name: Detect and tag new version id: check-version - if: env.sha + if: steps.check-parent-commit.outputs.sha uses: salsify/action-detect-and-tag-new-version@v2 with: version-command: | @@ -60,15 +60,7 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ - password: ${{ secrets.PYPI_TOKEN }} - - - name: Publish package on TestPyPI - if: "! steps.check-version.outputs.tag" - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.TEST_PYPI_TOKEN }} - repository_url: https://test.pypi.org/legacy/ + password: ${{ secrets.PYPI_API_TOKEN }} - name: Publish the release notes uses: release-drafter/release-drafter@v5 |