Skip to content

Release-Builder

Release-Builder #2

Workflow file for this run

name: "Release-Builder"
on:
workflow_dispatch:
push:
tags:
- 'v*'
env:
PYTHON_VER: 3.11
jobs:
deps:

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

View workflow run for this annotation

GitHub Actions / Release-Builder

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 11, Col: 3): The workflow must contain at least one job with no dependencies.
name: "Build"
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ env.PYTHON_VER }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VER }}
- name: Build
run: make build
- name: Dist
run: make dist
- name: Publish
uses: softprops/action-gh-release@v1
with:
draft: false
prerelease: ${{ contains(github.ref_name, '-')}}
files: "./dist/*"
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}