Skip to content

workflows:tag - remove auto-tagging action on PR merging #13

workflows:tag - remove auto-tagging action on PR merging

workflows:tag - remove auto-tagging action on PR merging #13

Workflow file for this run

name: Build Wheels
on:
push
env:
PYTHON_VERSION: 3.9.18
POETRY_VERSION: 1.6.1
jobs:
wheel:
name: Build Wheels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ env.POETRY_VERSION }}
- name: Build Dependencies Wheels
run: python -m pip wheel -w dist .
- name: Build Package Wheel
run: |
acacore="$(grep 'acacore =' pyproject.toml | grep -oE 'tag[ ]*=[ ]*"[^"]+"')"
acacore="${acacore#*\"}"
acacore="${acacore#v}"
acacore="${acacore%\"}"
sed -ie "s/acacore *=.*/acacore = \"$acacore\"/g" pyproject.toml
poetry build
- name: Save Wheels
uses: actions/upload-artifact@v3
with:
name: dist
path: dist