Skip to content

Commit

Permalink
ci-cd: Fix extension requiring nuget test
Browse files Browse the repository at this point in the history
  • Loading branch information
roxk committed Mar 28, 2024
1 parent f7fe626 commit a0f698a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
jobs:
test:
runs-on: windows-2022
if: startsWith(github.ref, 'refs/tags/vs2022-v') == false
steps:
- uses: actions/checkout@v3
- working-directory: WinUI3XamlPreview
Expand All @@ -32,12 +33,11 @@ jobs:
./scripts/publish-nuget -version $env:VERSION
build-extension:
runs-on: windows-2022
needs: ["test"]
if: startsWith(github.ref, 'refs/tags/vs2022-v')
steps:
- uses: actions/checkout@v3
- uses: microsoft/[email protected]
- working-directory: extensions/WinUI3XamlPrevieVS2022
- working-directory: "extensions\\WinUI3XamlPreviewVS2022"
run: ./scripts/build-extension -config Release
- uses: cezarypiatek/[email protected]
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ if (!($config -eq "Release" -or $config -eq "Debug")) {
}

$srcDir = "$PSScriptRoot"
$solutionDir = "$srcDir\.."
$solutionDir = "$srcDir\..\"
msbuild "${solutionDir}WinUI3XamlPreviewVS2022\WinUI3XamlPreviewVS2022.csproj" -restore
msbuild $solutionDir -t:WinUI3XamlPreviewVS2022 -p:Configuration=$config

0 comments on commit a0f698a

Please sign in to comment.