Skip to content

Always run it

Always run it #16

Workflow file for this run

name: Build new Herbie release
on: [push]
# push:
# tags:
# - 'v*'
jobs:
job2:

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

View workflow run for this annotation

GitHub Actions / Build new Herbie 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: Build
needs: job1
strategy:
matrix: # manual matrix
include:
- os: windows-latest
os-name: windows
- os: ubuntu-20.04 # keep old for glibc compatability
os-name: ubuntu
- os: macos-latest
os-name: macOS
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install Racket
uses: Bogdanp/[email protected]
with:
version: 8.11
- name: Install Rust compiler
uses: actions-rs/[email protected]
with:
toolchain: stable
default: true
override: true
- name: build egg-herbie
run: cargo build --release --manifest-path=egg-herbie/Cargo.toml
- name: Create tarball
run: raco pkg create --format zip egg-herbie
- name: Upload pre-built egg-herbie
uses: actions/upload-artifact@v4
with:
path: egg-herbie.zip
name: egg-herbie-${{ matrix.os-name }}.zip
- name: Upload pre-built egg-herbie checksum
uses: actions/upload-artifact@v4
with:
path: egg-herbie.zip.CHECKSUM
name: egg-herbie-${{ matrix.os-name }}.zip.CHECKSUM
release:
name: Create Initial Release
runs-on: ubuntu-latest
needs: build
steps:
- name: Download pre-built artifacts
uses: actions/download-artifact@v4
with:
path: egg-herbie
pattern: egg-herbie-*
merge-multiple: true
- name: Create Release
uses: ncipollo/release-action@v1
with:
tag: ${{ github.ref }}
name: ${{ github.ref }}
commit: ${{ github.commit }}
draft: true
prerelease: false
artifacts: egg-herbie/egg-herbie-*