Skip to content

testing (#13)

testing (#13) #4

Workflow file for this run

name: release
on:
push:
branches: [ main ]
jobs:
build:

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.
needs: [unit-test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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: Publish
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5
- run: opam update && opam install opam-publish
- run: opam publish