Skip to content

Commit

Permalink
Add workflow for release test PyPI and add some more blank spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley van Lee committed Oct 21, 2024
1 parent 433a314 commit 4c53092
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release to test PyPI

on:
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
environment: release

permissions:
id-token: write

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.8"

- name: Install build dependencies
run: pip install build

- name: Build distribution
run: python -m build

- name: Publish
uses: pypa/[email protected]
with:
repository-url: https://test.pypi.org/legacy/
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ jobs:
publish:
runs-on: ubuntu-latest
environment: release

permissions:
id-token: write

steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down

0 comments on commit 4c53092

Please sign in to comment.