Skip to content

remove the extra create release #1

remove the extra create release

remove the extra create release #1

Workflow file for this run

name: Create tagged release
on:
push:
tags:
- 'v*'
jobs:
build:

Check failure on line 10 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Create tagged release

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs:
- create_release
steps:
-
name: Action Checkout
uses: actions/checkout@v3
-
name: Setup Golang
uses: actions/setup-go@v4
with:
go-version: '1.21'
-
name: Test
run: go test -v ./...
-
name: Build
run: |
mkdir output
bash ./cmds/liter-server/build.sh
cp ./cmds/liter-server/litermc.service ./output/litermc.service
-
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
-
name: Upload Release Assets
uses: zyxkad/upload-release-asset-dir@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_dir: ./output