feat(ci): restore dependencies and properly build
This commit is contained in:
parent
5f9b5278e5
commit
7ff48ba26b
|
|
@ -8,11 +8,18 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: actions/setup-dotnet@v3
|
- uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: 7.0
|
dotnet-version: 7.0
|
||||||
|
|
||||||
|
- name: Restore dependencies
|
||||||
|
run: dotnet restore
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
run: dotnet build --no-restore
|
||||||
|
|
||||||
|
- name: Publish
|
||||||
run: |
|
run: |
|
||||||
dotnet publish -r win-x64 -c Release --no-self-contained -p:PublishDir=../publish/win-x64
|
dotnet publish -r win-x64 -c Release --no-self-contained -p:PublishDir=../publish/win-x64
|
||||||
mv publish/win-x64/Kiseki.Launcher.Windows.exe publish/Kiseki.Launcher.exe
|
mv publish/win-x64/Kiseki.Launcher.Windows.exe publish/Kiseki.Launcher.exe
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue