Skip to content

CI workflows: Forbid merges in case of test failures with conditional jobs #25

CI workflows: Forbid merges in case of test failures with conditional jobs

CI workflows: Forbid merges in case of test failures with conditional jobs #25

Workflow file for this run

---
name: "Robotmk"
on:
push:
paths:
- .github/workflows/robotmk.yaml
pull_request:
paths:
- .github/workflows/robotmk.yaml
workflow_call: {}
jobs:
build_robotmk_from_source:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/[email protected]
with:
target: x86_64-pc-windows-gnu
- run: cargo build --target=x86_64-pc-windows-gnu --release
working-directory: ${{ github.workspace }}/v2/robotmk/
- uses: actions/upload-artifact@v3
with:
path: |
${{ github.workspace }}/v2/robotmk/target/x86_64-pc-windows-gnu/release/robotmk.exe
${{ github.workspace }}/v2/robotmk/target/x86_64-pc-windows-gnu/release/robotmk_agent.exe
if-no-files-found: error
check_success:
if: always()
runs-on: ubuntu-latest
needs:
- build_robotmk_from_source
steps:
- uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}