Skip to content

FIXME: to improve the way I find the exported function #40

FIXME: to improve the way I find the exported function

FIXME: to improve the way I find the exported function #40

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x' # SDK Version to use.
- run: dotnet test -c release
working-directory: ./procgov-tests
- run: dotnet publish -c release -r win-x86 --self-contained
working-directory: ./procgov
- run: dotnet publish -c release -r win-x64 --self-contained
working-directory: ./procgov
- name: Copy artifacts
run: |
New-Item -Type Directory -Path artifacts
Copy-Item -Path "procgov/bin/release/net7.0-windows/win-x86/publish/procgov.exe" -Destination "artifacts/procgov32.exe"
Copy-Item -Path "procgov/bin/release/net7.0-windows/win-x86/publish/procgov.pdb" -Destination "artifacts/procgov32.pdb"
Copy-Item -Path "procgov/bin/release/net7.0-windows/win-x64/publish/procgov.exe" -Destination "artifacts/procgov64.exe"
Copy-Item -Path "procgov/bin/release/net7.0-windows/win-x64/publish/procgov.pdb" -Destination "artifacts/procgov64.pdb"
- uses: actions/upload-artifact@v3
with:
name: procgov
path: artifacts/*