From 450fb772f196a661931d67a3c59b8d5bdc605ff3 Mon Sep 17 00:00:00 2001 From: thomasht86 Date: Wed, 29 May 2024 08:40:22 +0200 Subject: [PATCH] delete old actions --- .github/workflows/pyvespa_bump_version.yml | 24 -------------- .github/workflows/pyvespa_release_publish.yml | 32 ------------------- 2 files changed, 56 deletions(-) delete mode 100644 .github/workflows/pyvespa_bump_version.yml delete mode 100644 .github/workflows/pyvespa_release_publish.yml diff --git a/.github/workflows/pyvespa_bump_version.yml b/.github/workflows/pyvespa_bump_version.yml deleted file mode 100644 index aa159d45..00000000 --- a/.github/workflows/pyvespa_bump_version.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: pyvespa - Bump version - -on: - workflow_dispatch: - push: - branches: - - master -jobs: - bump-version: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: "3.10" - - - name: Bump version - run: | - pip install -e .[build] - bump-my-version bump patch -v - - \ No newline at end of file diff --git a/.github/workflows/pyvespa_release_publish.yml b/.github/workflows/pyvespa_release_publish.yml deleted file mode 100644 index cb3b026a..00000000 --- a/.github/workflows/pyvespa_release_publish.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: pyvespa - Release and upload PyPI - -on: - workflow_dispatch: - # push: - # tags: - # - v*.*.* # Run on tags like v1.2.3s (Tagged in pyvespa_bump_version.yml) - -jobs: - - build-and-release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - - - name: Install build dependencies - run: | - python -m pip install --upgrade pip - pip install -e .[build] - - - name: Build - run: | - python -m build - - - name: Upload to PyPI - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN_PYVESPA }} #TODO: this must be added to secrets - run: twine upload --repository testpypi dist/* --non-interactive