Skip to content

Add workflow for building binaries #5

Add workflow for building binaries

Add workflow for building binaries #5

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: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
- name: "Setup Rust"
uses: actions-rust-lang/[email protected]
with:
target: x86_64-pc-windows-gnu
- name: "Install MinGW-w64"
run: sudo apt-get install -y mingw-w64
- name: "Build Robotmk Windows"
working-directory: ${{ GITHUB_WORKSPACE }}/v2/robotmk/

Check failure on line 29 in .github/workflows/robotmk.yaml

View workflow run for this annotation

GitHub Actions / Robotmk

Invalid workflow file

The workflow is not valid. .github/workflows/robotmk.yaml (Line: 29, Col: 28): Unrecognized named-value: 'GITHUB_WORKSPACE'. Located at position 1 within expression: GITHUB_WORKSPACE .github/workflows/robotmk.yaml (Line: 35, Col: 17): Unrecognized named-value: 'GITHUB_WORKSPACE'. Located at position 1 within expression: GITHUB_WORKSPACE
run: cargo build --target=x86_64-pc-windows-gnu --release
- name: "Upload Artifact"
uses: actions/upload-artifact@v3
with:
path: |
${{ GITHUB_WORKSPACE }}/v2/robotmk/target/x86_64-pc-windows-gnu/release/robotmk.exe
${{ GITHUB_WORKSPACE }}/v2/robotmk/x86_64-pc-windows-gnu/release/robotmk_agent.exe
if-no-files-found: error