Skip to content

add release stage

add release stage #1

Workflow file for this run

name: Release
on:
push:
tags:
- '[0-9].[0-9].[0-9]'
jobs:
release:

Check failure on line 9 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 9, Col: 3): The workflow must contain at least one job with no dependencies.
name: Create Release
needs: [build_wheels]
runs-on: ubuntu-20.04
steps:
- name: Python Setup
uses: actions/setup-python@v3
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: artifact
path: dist
- name: Show Dist Contents
run: ls dist
- name: Release
uses: softprops/action-gh-release@v1
with:
files: dist/*
- name: Upload to PYPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}