Skip to content

Commit

Permalink
stop releasing to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanmele committed Oct 21, 2024
1 parent 1a9389e commit c6a009e
Showing 1 changed file with 14 additions and 30 deletions.
44 changes: 14 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c6a009e

Please sign in to comment.