Don't publish to testpypi
All checks were successful
All checks were successful
This commit is contained in:
parent
2668a880ee
commit
da2c453430
48
.github/workflows/python_publish.yml
vendored
48
.github/workflows/python_publish.yml
vendored
|
@ -106,31 +106,31 @@ jobs:
|
||||||
# '${{ github.ref_name }}' dist/**
|
# '${{ github.ref_name }}' dist/**
|
||||||
# --repo '${{ github.repository }}'
|
# --repo '${{ github.repository }}'
|
||||||
|
|
||||||
publish-to-testpypi:
|
# publish-to-testpypi:
|
||||||
name: Publish Python 🐍 distribution 📦 to TestPyPI
|
# name: Publish Python 🐍 distribution 📦 to TestPyPI
|
||||||
needs:
|
# needs:
|
||||||
- build
|
# - build
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|
||||||
environment:
|
# environment:
|
||||||
name: testpypi
|
# name: testpypi
|
||||||
url: https://test.pypi.org/p/goat_monitor
|
# url: https://test.pypi.org/p/goat_monitor
|
||||||
|
|
||||||
permissions:
|
# permissions:
|
||||||
id-token: write # IMPORTANT: mandatory for trusted publishing
|
# id-token: write # IMPORTANT: mandatory for trusted publishing
|
||||||
|
|
||||||
env:
|
# env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache # https://about.gitea.com/resources/tutorials/enable-gitea-actions-cache-to-accelerate-cicd
|
# RUNNER_TOOL_CACHE: /toolcache # https://about.gitea.com/resources/tutorials/enable-gitea-actions-cache-to-accelerate-cicd
|
||||||
AGENT_TOOLSDIRECTORY: /toolcache # https://github.com/actions/setup-python/issues/824
|
# AGENT_TOOLSDIRECTORY: /toolcache # https://github.com/actions/setup-python/issues/824
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
- name: Download all the dists
|
# - name: Download all the dists
|
||||||
uses: actions/download-artifact@v3
|
# uses: actions/download-artifact@v3
|
||||||
with:
|
# with:
|
||||||
name: python-package-distributions
|
# name: python-package-distributions
|
||||||
path: dist/
|
# path: dist/
|
||||||
- name: Publish distribution 📦 to TestPyPI
|
# - name: Publish distribution 📦 to TestPyPI
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
# uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
# with:
|
||||||
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
||||||
repository-url: https://test.pypi.org/legacy/
|
# repository-url: https://test.pypi.org/legacy/
|
Loading…
Reference in New Issue
Block a user