Skip to content

Commit

Permalink
Testing publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shinzlet committed Oct 8, 2024
1 parent f52f1ce commit f33d87c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/on-release-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
branches: [main]

jobs:

set-version:
runs-on: ubuntu-24.04
steps:
Expand All @@ -32,6 +31,9 @@ jobs:

publish:
runs-on: ubuntu-latest
environment: production
permissions:
id-token: write
needs: [set-version]
steps:
- name: Check out
Expand All @@ -50,6 +52,6 @@ jobs:

- name: Publish package
run: uvx twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

0 comments on commit f33d87c

Please sign in to comment.