Skip to content

Commit b5d6f53

Browse files
authored
Action Fixes
Fixed Windows Names Added Linux
1 parent a034ad2 commit b5d6f53

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

.github/workflows/dotnetcore.yml

+24-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Upload artifact
3939
uses: actions/upload-artifact@v1
4040
with:
41-
name: MA2Export2File-x64
41+
name: MA2Export2File-Win-x64
4242
path: ./MA2Export2File
4343

4444
publish-win-x86:
@@ -60,7 +60,7 @@ jobs:
6060
- name: Upload artifact
6161
uses: actions/upload-artifact@v1
6262
with:
63-
name: MA2Export2File-x86
63+
name: MA2Export2File-Win-x86
6464
path: ./MA2Export2File
6565

6666
publish-macOS-x64:
@@ -84,3 +84,25 @@ jobs:
8484
with:
8585
name: MA2Export2File-macOS-x64
8686
path: ./MA2Export2File
87+
88+
publish-linux-x64:
89+
name: Publish Linux x64
90+
needs: checkout
91+
runs-on: ubuntu-latest
92+
steps:
93+
- name: Cache checkout
94+
uses: actions/cache@v1
95+
with:
96+
path : .
97+
key: ${{ runner.os }}-${{ github.sha }}
98+
- name: Setup .NET Core
99+
uses: actions/setup-dotnet@v1
100+
with:
101+
dotnet-version: 3.1.201
102+
- name: Publish Linux-x64
103+
run: dotnet publish --nologo --configuration Release --runtime linux-x64 --framework netcoreapp3.1 --no-self-contained --output ./MA2Export2File
104+
- name: Upload artifact
105+
uses: actions/upload-artifact@v1
106+
with:
107+
name: MA2Export2File-Linux-x64
108+
path: ./MA2Export2File

0 commit comments

Comments
 (0)