forked from AtlasTheProto/ADBForwarder
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed pipelines dotnet restore, paths
- Loading branch information
1 parent
b230faa
commit 2ff4ef0
Showing
1 changed file
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/* | ||
|