Skip to content

Commit a12db4a

Browse files
authored
Update ci.yml
1 parent 2cdde35 commit a12db4a

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,22 @@ jobs:
1313
uses: actions/setup-dotnet@v1
1414
with:
1515
dotnet-version: 3.1.102
16-
- name: Build with dotnet
17-
run: dotnet publish -c Release -o publish/win-x64 -r win-x64 /p:PublishSingleFile=true /p:IncludeSymbolsInSingleFile=true /p:PublishTrimmed=true
18-
- name: Upload artifact
16+
- name: Build With DotNet
17+
run: |
18+
dotnet publish -c Release -o publish/win-x64 -r win-x64 /p:PublishSingleFile=true /p:IncludeSymbolsInSingleFile=true /p:PublishTrimmed=true
19+
dotnet publish -c Release -o publish/linux-x64 -r linux-x64 /p:PublishSingleFile=true /p:IncludeSymbolsInSingleFile=true /p:PublishTrimmed=true
20+
- name: Upload artifact win-x64
1921
uses: actions/upload-artifact@v1.0.0
2022
with:
2123
# Artifact name
22-
name: DotNetGitStats
24+
name: DotNetGitStats-win-x64
2325
# Directory containing files to upload
2426
path: publish/win-x64
27+
28+
- name: Upload artifact linux-x64
29+
uses: actions/upload-artifact@v1.0.0
30+
with:
31+
# Artifact name
32+
name: DotNetGitStats-linux-x64
33+
# Directory containing files to upload
34+
path: publish/linux-x64

0 commit comments

Comments
 (0)