Skip to content

feat: Add release.yaml github action #1

feat: Add release.yaml github action

feat: Add release.yaml github action #1

Workflow file for this run

name: Create Release
on:
push:
tags:
- 'v*' # Triggers the workflow when a tag is pushed
jobs:
create_release:

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

View workflow run for this annotation

GitHub Actions / Create Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 9, Col: 3): The workflow must contain at least one job with no dependencies.
needs: build # Wait for the build job to complete
runs-on: ubuntu-latest
outputs:
release_upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false