Skip to content

Remove large unneeded dependencies #7

Remove large unneeded dependencies

Remove large unneeded dependencies #7

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install build dependencies
run: python -m pip install -U hatch hatch-vcs
- name: Build
run: hatch build --clean
- name: Publish
run: hatch publish
env:
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.HatchAuth }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Automatic Release
draft: false
prerelease: false