only install hatch in action

This commit is contained in:
Waylon Walker 2022-09-01 12:32:24 -05:00
parent e2c7e739d5
commit 7160ef5eae
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4

View file

@ -11,6 +11,10 @@ on:
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch:
env:
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.pypi_token }}
# A workflow run is made up of one or more jobs that can run sequentially or in parallel # A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs: jobs:
# This workflow contains a single job called "build" # This workflow contains a single job called "build"
@ -22,12 +26,4 @@ jobs:
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4.2.0
with:
python-version: '3.10'
- run: pip install hatch
- uses: waylonwalker/hatch-version-action@v1 - uses: waylonwalker/hatch-version-action@v1