Skip to content
name: ReliabilityBuild
on:
workflow_dispatch:
jobs:
reliability-build:
runs-on: ubuntu-latest
container:
image: dockbuild/ubuntu1604:latest
steps:
- name: Checkout code
run: git clone --depth=1 https://github.com/holochain/reliability.git
- name: Print Glibc Version
run: ldd --version ldd
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal -y
- name: Build reliability
run: |
cd reliability
PATH=~/.cargo/bin:$(pwd)/go/bin:$PATH cargo build --release
- name: Print reliability ldd
run: ldd reliability/target/release/reliability
- name: Create Release
run: curl -L -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ github.token }}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/OWNER/REPO/releases -d '{"tag_name":"v0.0.1","target_commitish":"main","name":"v0.0.1","body":"Release v0.0.1","draft":false,"prerelease":false,"generate_release_notes":false}'

Check failure on line 28 in .github/workflows/reliability-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/reliability-build.yml

Invalid workflow file

You have an error in your yaml syntax on line 28