Skip to content

drop support for python 3.8 #216

drop support for python 3.8

drop support for python 3.8 #216

Workflow file for this run

name: Release and Upload to aioqzone-index
on:
workflow_dispatch:
pull_request:
types:
- closed
branches:
- "release"
- "release/**"
- "beta"
- "beta/**"
concurrency:
group: build-${{ github.ref_name }}
cancel-in-progress: true
jobs:
build-upload:
runs-on: ubuntu-latest
if: |
github.event_name == 'workflow_dispatch' ||
contains(github.event.pull_request.labels.*.name, 'release')
env:
GH_TOKEN: ${{ github.token }}
index-repo: aioqzone/aioqzone-index
permissions:
contents: write # release needs write permission
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.13"
# cache: poetry
- name: Build dist
id: build
run: |
version=$(poetry version -s)
echo "version=$version" >> $GITHUB_ENV
poetry build
- name: Upload to Release
id: upload
uses: JamzumSum/actions/hash-release@master
with:
tag: ${{ env.version }}
notes: ${{ github.event.pull_request.body || '' }}
files: dist/*
- name: Add to aioqzone-index
env:
urls: ${{ steps.upload.outputs.urls }}
GH_TOKEN: ${{ secrets.INDEX_TOKEN }} # this is a fine-grained PAT
run: |
gh workflow -R ${{ env.index-repo }} run add.yml \
-f project=aioqzone-feed \
-f urls="$urls"