Skip to content

save test gif

save test gif #3

Workflow file for this run

name: Build Mac
on: [push]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: build
working-directory: ${{github.workspace}}
run: clang -Weverything -O3 gif-h-demo.cpp -o gif -Wno-old-style-cast -Wno-missing-prototypes
- name: test
working-directory: ${{github.workspace}}
run: ./gif
- name: Upload test
uses: actions/upload-artifact@v4
working-directory: ${{github.workspace}}

Check failure on line 20 in .github/workflows/c-cpp.yml

View workflow run for this annotation

GitHub Actions / Build Mac

Invalid workflow file

The workflow is not valid. .github/workflows/c-cpp.yml (Line: 20, Col: 7): Unexpected value 'working-directory'
with:
name: test-gif
path: ./MyGif.gif