Skip to content

Commit

Permalink
Fixed pipelines dotnet restore, paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Meister1593 committed Jan 3, 2024
1 parent b230faa commit 2ff4ef0
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,18 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Publish for linux
run: dotnet publish -r linux-x64 --no-restore
run: dotnet publish -r linux-x64
- name: Publish for windows
run: dotnet publish -r win-x64 --no-restore
run: dotnet publish -r win-x64
- name: Upload Linux Artifact
uses: actions/[email protected]
with:
# Artifact name
name: ADBForwarder-linux-x64.zip
# A file, directory or wildcard pattern that describes what to upload
path: bin/Release/net8.0/linux-x64/publish
path: ADBForwarder/bin/Release/net8.0/linux-x64/publish/*
- name: Upload Windows Artifact
uses: actions/[email protected]
with:
# Artifact name
name: ADBForwarder-win-x64.zip
# A file, directory or wildcard pattern that describes what to upload
path: bin/Release/net8.0/win-x64/publish
name: ADBForwarder-windows-x64.zip
path: ADBForwarder/bin/Release/net8.0/win-x64/publish/*

0 comments on commit 2ff4ef0

Please sign in to comment.