Skip to content

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
paths-ignore:
- 'doc/**'
- 'examples/**'
- '.vscode/**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up CMake
uses: jwlawson/[email protected]
with:
cmake-version: 3.21.3
- name: Configure
run: cmake -S . -B build
- name: Build
run: cmake --build build
- name: Upload artifacts
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v4
with:
name: fiscodegen-latest-linux
path: build/build
- name: Upload artifacts
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v4
with:
name: fiscodegen-latest-windows
path: build/build
- name: Upload a release
if: matrix.os == 'ubuntu-latest'
uses: softprops/action-gh-release@v1
with:
files: |
build/build

Check failure on line 54 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 54
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}