diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ca699f0..762eb11 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,6 +16,7 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: 7.0.x + dotnet-version: 7.0.x - name: get version id: version uses: notiz-dev/github-action-json-property@release @@ -25,7 +26,7 @@ jobs: - run: echo ${{steps.version.outputs.prop}} - name: Build run: | - dotnet publish 'Flow.Launcher.Plugin.WireGuard/Flow.Launcher.Plugin.WireGuard.csproj' --framework net7.0 -c Release -o "WireGuard" + dotnet publish 'Flow.Launcher.Plugin.WireGuard/Flow.Launcher.Plugin.WireGuard.csproj' --framework net7.0-windows -c Release -o "WireGuard" 7z a -tzip "Flow.Launcher.Plugin.WireGuard.zip" "WireGuard/*" rm -r "WireGuard" - name: Publish