Try to build csproj directly and publish artifacts
This commit is contained in:
parent
34b71baa04
commit
91eeb7818e
1 changed files with 8 additions and 1 deletions
9
.github/workflows/LANCommander.yml
vendored
9
.github/workflows/LANCommander.yml
vendored
|
@ -23,4 +23,11 @@ jobs:
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build .\LANCommander\LANCommander.csproj --no-restore
|
run: dotnet build "./LANCommander/LANCommander.csproj" --no-restore
|
||||||
|
- name: Publish
|
||||||
|
run: dotnet publish "./LANCommander/LANCommander.csproj" -c Release -o LANCommander
|
||||||
|
- name: Upload Artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: LANCommander
|
||||||
|
path: "./LANCommander"
|
||||||
|
|
Loading…
Add table
Reference in a new issue