From c6a009edb75b2d7645a9eeec3bfff62197cb0979 Mon Sep 17 00:00:00 2001 From: tomvanmele Date: Mon, 21 Oct 2024 23:16:55 +0200 Subject: [PATCH] stop releasing to pypi --- .github/workflows/release.yml | 44 +++++++++++------------------------ 1 file changed, 14 insertions(+), 30 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b3c322e..2a82a438 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,38 +1,22 @@ +name: Release + on: push: tags: - - "v*" - -name: Create Release + - 'v*' jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-latest, ubuntu-latest] - python: ["3.9", "3.10"] - - steps: - - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2.0.0 - with: - miniconda-version: "latest" - channels: conda-forge - python-version: ${{ matrix.python-version }} - - - uses: compas-dev/compas-actions.build@v4 - with: - invoke_lint: true - invoke_test: true - use_conda: true - python: ${{ matrix.python }} - - Publish: - needs: build + Release: runs-on: ubuntu-latest steps: - - uses: compas-dev/compas-actions.publish@v3 + - uses: actions/checkout@v2 + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - pypi_token: ${{ secrets.PYPI }} - github_token: ${{ secrets.GITHUB_TOKEN }} + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: false