Skip to content

Commit

Permalink
rm prerelease and secrets cause were using openid
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfast committed Nov 21, 2023
1 parent 733b06f commit aa8531d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 37 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/prerelease.yml

This file was deleted.

17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -23,11 +23,12 @@ jobs:
run: hatch run test:run
- name: Build
run: hatch build
- name: Publish to mainline
run: hatch publish --user ${{secrets.HATCH_INDEX_USER}} --auth ${{secrets.HATCH_INDEX_AUTH}}
- name: Publish package
run: hatch publish -r test
if: github.event_name != 'release'
- name: Test pypi release
run: |
pip install nbconvert-a11y pytest
pytest
- name: Test the released packaged
run: hatch run release:test
if: github.event_name != 'release'
- name: Publish to mainline
run: hatch publish --user
if: github.event_name != 'release'

0 comments on commit aa8531d

Please sign in to comment.