Refactor plan execution (#46) #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Release | |
on: | |
push: | |
branches: | |
- main | |
- release/** | |
env: | |
PIP_CACHE_DIR: .cache/pip | |
PRE_COMMIT_HOME: .cache/pre-commit | |
HATCH_CACHE_DIR: .cache/hatch | |
HATCH_INDEX_USER: __token__ | |
HATCH_INDEX_REPO: test | |
HATCH_INDEX_AUTH: ${{ secrets.TEST_PYPI_TOKEN }} | |
jobs: | |
test-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
cache: pip | |
- run: pip install hatch | |
- run: hatch version | |
- run: hatch build | |
- run: ls -lhtr dist | |
- run: hatch publish |