mirror of
https://github.com/Smaug123/WoofWare.DotnetRuntimeLocator
synced 2025-10-05 23:38:39 +00:00
Fix windows build (#1)
This commit is contained in:
8
.github/workflows/dotnet.yaml
vendored
8
.github/workflows/dotnet.yaml
vendored
@@ -28,6 +28,8 @@ jobs:
|
||||
run: dotnet restore
|
||||
- name: Test
|
||||
run: dotnet test
|
||||
- name: Publish
|
||||
run: dotnet publish Example
|
||||
- name: Run example
|
||||
run: ".\\Example\\bin\\Release\\net8.0\\win-x64\\Example.exe"
|
||||
|
||||
@@ -55,6 +57,10 @@ jobs:
|
||||
run: nix develop --command dotnet build --no-restore --configuration ${{matrix.config}}
|
||||
- name: Test
|
||||
run: nix develop --command dotnet test --no-build --verbosity normal --configuration ${{matrix.config}}
|
||||
- name: Publish example
|
||||
run: nix develop --command dotnet publish --no-build --verbosity normal --configuration ${{matrix.config}} Example
|
||||
- name: Run example self-contained
|
||||
run: "./Example/bin/${{matrix.config}}/*/*/Example"
|
||||
|
||||
build-nix:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -173,7 +179,7 @@ jobs:
|
||||
run: sh .github/workflows/tag.sh
|
||||
|
||||
all-required-checks-complete:
|
||||
needs: [check-dotnet-format, check-nix-format, build, build-nix, linkcheck, flake-check, nuget-pack, expected-pack, github-release-dry-run]
|
||||
needs: [check-dotnet-format, check-nix-format, build, build-nix, linkcheck, flake-check, nuget-pack, expected-pack, github-release-dry-run, build-windows]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "All required checks complete."
|
||||
|
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"version": "0.1",
|
||||
"publicReleaseRefSpec": null,
|
||||
"publicReleaseRefSpec": ["^refs/heads/main$"],
|
||||
"pathFilters": [
|
||||
"^Test/",
|
||||
":/WoofWare.DotnetRuntimeLocator",
|
||||
":/Directory.Build.props",
|
||||
":/README.md"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user