Skip to content

Commit

Permalink
use trusted
Browse files Browse the repository at this point in the history
Signed-off-by: Tamar Galer <tamar@ox.security>
  • Loading branch information
tamar-ox committed Jul 7, 2024
1 parent 828e229 commit 48ff4f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 52 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@ on:
types: [ published ]

jobs:
publish-service-client-package:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
environment: release
permissions:
contents: write
id-token: write
steps:
- name: Publish PyPi package
uses: code-specialist/pypi-poetry-publish@v1
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
PACKAGE_DIRECTORY: "./maskerlogger/"
PYTHON_VERSION: "3.11"
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_REGISTRY_PASSWORD: ${{ secrets.PUBLISH_REGISTRY_PASSWORD }}
python-version: '3.x'
- run: python -m pip install --upgrade pip
- run: pip install poetry
- run: poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
44 changes: 0 additions & 44 deletions poetry.lock

This file was deleted.

0 comments on commit 48ff4f7

Please sign in to comment.