From f9f30cf0cec6013aa559b6c0d0451809811cdae4 Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Thu, 17 Oct 2019 22:15:53 +0100 Subject: [PATCH 1/3] Update release.yml --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71b70a46..727f65e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Build Python distributon - run: sudo python "$GITHUB_WORKSPACE/setup.py" sdist bdist_wheel + run: | + pwd + ls -alx + sudo python "$GITHUB_WORKSPACE/setup.py" sdist bdist_wheel - name: Publish a Python distribution to PyPI uses: pypa/gh-action-pypi-publish@66f4ba74 with: From 61e8a389c079bf9db2837d9471e2cd719c68355b Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Thu, 17 Oct 2019 22:32:21 +0100 Subject: [PATCH 2/3] Update release.yml --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 727f65e1..91e698f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,12 +9,11 @@ jobs: name: Build and publish to PyPI runs-on: ubuntu-latest steps: + - uses: actions/checkout@v1 - name: Build Python distributon - run: | - pwd - ls -alx - sudo python "$GITHUB_WORKSPACE/setup.py" sdist bdist_wheel + run: python "$GITHUB_WORKSPACE/setup.py" sdist bdist_wheel - name: Publish a Python distribution to PyPI + if: success() uses: pypa/gh-action-pypi-publish@66f4ba74 with: user: __token__ From 39da7082ab227382773b2d9cf44c913450f2f7a5 Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Thu, 17 Oct 2019 22:38:01 +0100 Subject: [PATCH 3/3] Update release.yml --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91e698f6..d26cb729 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,9 @@ jobs: steps: - uses: actions/checkout@v1 - name: Build Python distributon - run: python "$GITHUB_WORKSPACE/setup.py" sdist bdist_wheel + run: | + python3 -m pip install --user --upgrade setuptools wheel + python3 "$GITHUB_WORKSPACE/setup.py" sdist bdist_wheel - name: Publish a Python distribution to PyPI if: success() uses: pypa/gh-action-pypi-publish@66f4ba74