2 Commits

Author SHA1 Message Date
da2c453430 Don't publish to testpypi
All checks were successful
Python package / lint (push) Successful in 11s
Publish Python 🐍 distribution 📦 to PyPI and TestPyPI / Build distribution 📦 (push) Successful in 10s
Publish Python 🐍 distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to PyPI (push) Has been skipped
2024-10-20 23:58:08 -06:00
2668a880ee formatting
Some checks failed
Python package / lint (push) Successful in 7s
Publish Python 🐍 distribution 📦 to PyPI and TestPyPI / Build distribution 📦 (push) Successful in 8s
Publish Python 🐍 distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to PyPI (push) Has been skipped
Publish Python 🐍 distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to TestPyPI (push) Failing after 3s
2024-09-14 23:05:50 -06:00
2 changed files with 24 additions and 25 deletions

View File

@ -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/

View File

@ -11,7 +11,6 @@ Configuration lives in a TOML file which should have (at a minimum) the followin
```toml ```toml
server = "https://gotify.example.com" server = "https://gotify.example.com"
app_token = "app_token_from_gotify" app_token = "app_token_from_gotify"
``` ```
## Usage ## Usage