Skip to content

Update pyproject.toml #18

Update pyproject.toml

Update pyproject.toml #18

name: Release
on:
- push
# push:
# branches:
# - main
jobs:
create_release:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10"]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# - name: Create wheel
# run: |
# python -m pip install --upgrade pip poetry
# poetry install
# poetry build
# ls
- name: check python verision
run: |
python -V -V
- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: understand env
run: |
ls dist
- name: Run gh CLI Command
if: steps.release.outputs.released == 'true'
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create test-actual-files ./dist/*