Skip to content

refactor: use SourceText instead of string, add tests #12

refactor: use SourceText instead of string, add tests

refactor: use SourceText instead of string, add tests #12

Workflow file for this run

name: Build .NET CLI Project
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-latest, macos-latest]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.x
- name: Publish artifacts
run: dotnet publish Gobo.Cli/Gobo.Cli.csproj -c Release -o ./publish
- name: Upload artifacts
if: matrix.os == 'ubuntu-20.04'
uses: actions/upload-artifact@v2
with:
name: gobo-ubuntu
path: ./publish
- name: Upload artifacts
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v2
with:
name: gobo-windows
path: ./publish
- name: Upload artifacts
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v2
with:
name: gobo-macos
path: ./publish