Skip to content

Commit

Permalink
Test release 01
Browse files Browse the repository at this point in the history
  • Loading branch information
smialy committed Feb 12, 2025
1 parent d94e12f commit bb163ef
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI

on:
push:
branches: "main"
branches: "rtest"
pull_request:
paths:
- '.github/workflows/ci.yml'
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/ci_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,19 @@ jobs:
deploy:
needs: [lint, typing]
runs-on: ubuntu-latest
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
defaults:
run:
working-directory: ${{ inputs.working-directory }}
# if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Build sdist and wheel
run: pipx run build
# - name: Publish distribution PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.PYPI_API_TOKEN }}
- name: Publish distribution PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ${{ inputs.working-directory }}
repository-url: https://test.pypi.org/legacy/
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit bb163ef

Please sign in to comment.