diff --git a/.gitea/workflows/hello.yaml b/.gitea/workflows/hello.yaml deleted file mode 100644 index c985714..0000000 --- a/.gitea/workflows/hello.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push] -jobs: - Hello-Gitea-Actions: - runs-on: ubuntu-latest - steps: - - name: Check out repository code - uses: actions/checkout@v3 - - name: Set up Python 3.10 - uses: https://github.com/actions/setup-python@v4 - with: - python-version: '3.10.12' - - name: Run image - uses: https://github.com/abatilo/actions-poetry@v2 - with: - poetry-version: 1.5 - - name: View poetry --help - run: poetry --help diff --git a/.gitea/workflows/pipy_publish.yaml b/.gitea/workflows/pipy_publish.yaml deleted file mode 100644 index 2ac7828..0000000 --- a/.gitea/workflows/pipy_publish.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: Publish to pipy -run-name: ${{ gitea.repository }} publish 🚀 to pipy - -on: - push: - tags: - - '*' - -jobs: - build-n-publish: - name: Build and publish Python 🐍 distributions 📦 to PyPI - runs-on: ubuntu-latest - steps: - - name: Check out repository code - uses: actions/checkout@v3 - - name: Set up Python 3.10 - uses: https://github.com/actions/setup-python@v4 - with: - python-version: '3.11' - - name: Run image - uses: https://github.com/abatilo/actions-poetry@v2 - with: - poetry-version: 1.5 - - name: Extract tag name - id: tag - run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3) - - name: Update version in setup.py - run: >- - sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.TAG_NAME }}/g" pyproject.toml - - name: View poetry --help - run: poetry --help