Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlabelle authored Jul 22, 2024
1 parent 9e2af43 commit c2aa382
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,15 @@ jobs:
run: cmake --build --preset release

- name: Create NuGet Package
working-directory: Generator
shell: pwsh
run: |
$Version = "${{ github.event.release.tag_name && inputs.version }}"
if ($Version.StartsWith("v")) { $Version = $Version.Substring(1) }
& Generator\Create-NuGetPackage.ps1 `
& .\Create-NuGetPackage.ps1 `
-NativeExe "build\release\bin\SwiftWinRT.exe" `
-Version $Version `
-OutputPath "SwiftWinRT.nupkg"
-OutputPath "${{ github.workspace }}\SwiftWinRT.nupkg"
- name: Add Release Asset
if: github.event_name == 'release'
Expand Down

0 comments on commit c2aa382

Please sign in to comment.