From 78b13ba1c446426f94036ef51c97673234d09a44 Mon Sep 17 00:00:00 2001 From: Jamie Hale Date: Mon, 14 Oct 2024 21:30:03 +0000 Subject: [PATCH] testing Signed-off-by: Jamie Hale --- .github/workflows/pythonpublish.yml | 14 +++++++++----- pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 8211541fbe..ab409ef4d3 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -3,24 +3,28 @@ name: Upload Python Package on: release: types: [created] + workflow_dispatch: jobs: deploy: runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/acapy-agent-jamie-testing + permissions: + id-token: write # IMPORTANT: this permission is mandatory for trusted publishing steps: - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.x" - - name: Install dependencies + - name: Install build and publish dependencies run: | python -m pip install --upgrade pip pip install setuptools wheel twine poetry - name: Build and publish - env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | poetry build - twine upload dist/* + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/pyproject.toml b/pyproject.toml index ff502963ab..396d533430 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -name = "acapy_agent" +name = "acapy_agent_jamie_testing" version = "1.0.1" description = "(ACA-Py) A Cloud Agent Python is a foundation for building decentralized identity applications and services running in non-mobile environments. " authors = []