Skip to content

Commit

Permalink
fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Laeng committed May 19, 2024
1 parent 80e6c0a commit ef100c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ jobs:
- name: Setup nuget
uses: nuget/setup-nuget@v1

- name: Build app
- name: Restore dependency
run: msbuild SCTools\SCTools.sln /t:restore /t:SCTool_Redesigned:Rebuild /p:Configuration=Release /p:Platform="x64" -m

- name: Build app
run: msbuild SCTools\SCTool_Redesigned\SCTool_Redesigned.csproj /t:Publish /p:Configuration=Release /p:Platform="x64" /p:RuntimeIdentifier=win-x64 /p:SelfContained=true /p:PublishSingleFile=true /p:EnableCompressionInSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true -m

# - name: Compress component
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ jobs:
#- name: Setup nuget Repo
# run: dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org --configfile $env:APPDATA\NuGet\NuGet.Config

- name: Build app
- name: Restore dependency
run: msbuild SCTools\SCTools.sln /t:restore /t:SCTool_Redesigned:Rebuild /p:Configuration=Release /p:Platform="x64" -m

- name: Build app
run: msbuild SCTools\SCTool_Redesigned\SCTool_Redesigned.csproj /t:Publish /p:Configuration=Release /p:Platform="x64" /p:RuntimeIdentifier=win-x64 /p:SelfContained=true /p:PublishSingleFile=true /p:EnableCompressionInSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true -m

# - name: Compress component
Expand Down

0 comments on commit ef100c9

Please sign in to comment.