Skip to content

CI

CI #1

Workflow file for this run

name: CI
on: [push]
jobs:
build:
strategy:
platform: [win-x64, linux-x64]

Check failure on line 7 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 7, Col: 7): Unexpected value 'platform'
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Build
run: dotnet publish -r ${{ matrix.platform }} -c Release --no-self-contained -p:PublishDir=../publish/${{ matrix.platform }}
- name: Upload
uses: actions/upload-artifact@v3
with:
name: Toolbox (${{ matrix.platform }})
path: publish/${{ matrix.platform }}/*