Skip to content

Commit

Permalink
reworking test-pypi uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
allmightyspiff committed Sep 13, 2023
1 parent f6fb649 commit f2f8fec
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test_pypi_release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
# Trusted Publisher stuff: https://docs.pypi.org/trusted-publishers/adding-a-publisher/

name: TEST Publish 📦 to TestPyPI

Expand All @@ -10,6 +11,11 @@ jobs:
build-n-publish:
name: TEST Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
runs-on: ubuntu-latest
environment:
name: pypi-test
url: https://test.pypi.org/project/SoftLayer/
permissions:
id-token: write
steps:
- uses: actions/checkout@master
- name: Set up Python 3.11
Expand All @@ -31,7 +37,7 @@ jobs:
--outdir dist/
.
- name: Publish 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.CGALLO_TEST_PYPI }}
repository-url: https://test.pypi.org/legacy/

0 comments on commit f2f8fec

Please sign in to comment.