Skip to content

Merge pull request #9 from vbfox/ci_integration_test #43

Merge pull request #9 from vbfox/ci_integration_test

Merge pull request #9 from vbfox/ci_integration_test #43

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
linux:
runs-on: ubuntu-22.04
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: 1
PAKET_SKIP_RESTORE_TARGETS: true
steps:
- uses: actions/checkout@v6
- uses: actions/setup-dotnet@v5
with:
dotnet-version: |
2
5
- name: Restore packages
run: ./paket.sh restore
- name: Compile build script
run: dotnet build src/BlackFox.MasterOfFoo.Build/BlackFox.MasterOfFoo.Build.fsproj
- name: Build
run: ./build.sh CI
- name: Publish artifacts
uses: actions/upload-artifact@v6
with:
path: artifacts/BlackFox.MasterOfFoo/Release/*.nupkg
if-no-files-found: error
compression-level: 0
windows:
runs-on: windows-latest
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: 1
PAKET_SKIP_RESTORE_TARGETS: true
steps:
- uses: actions/checkout@v6
- uses: actions/setup-dotnet@v5
with:
dotnet-version: |
2
5
- name: Restore packages
run: ./paket.cmd restore
- name: Compile build script
run: dotnet build src/BlackFox.MasterOfFoo.Build/BlackFox.MasterOfFoo.Build.fsproj
- name: Build
run: ./build.cmd CI