Skip to content

Update build.yml

Update build.yml #225

Workflow file for this run

name: Build Mi-Assistant
on:
workflow_dispatch:
env:
VERSION: 1.1
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Chocolatey
winchoco/setup-chocolatey@v1.0.0

Check failure on line 18 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
- name: Install dependencies (libusb and curl)
run: |
choco install libusb curl -y
shell: powershell
- name: Compile main.c with aes.o and md5.o
run: |
gcc -o main.exe main.c libs/*.c -L"C:\ProgramData\chocolatey\lib\libusb\bin" -Ilibs -I"C:\ProgramData\chocolatey\lib\curl\include" -lusb-1.0 -lcurl
shell: powershell