Skip to content

Commit e544367

Browse files
authored
Add packing, and uploading now added
1 parent 4b0241b commit e544367

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/dotnet_build.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
runs-on: windows-latest
1616
strategy:
1717
matrix:
18+
# ExportX is only for building godot.
1819
builds: [ 'Debug', 'ExportDebug', 'ExportRelease', 'DebugClient', 'DebugServer' ]
1920
steps:
2021
- name: Checkout
@@ -37,10 +38,12 @@ jobs:
3738
- name: Publish
3839
run: dotnet publish EIV_Game.csproj -c ${{ matrix.builds }} -o Out
3940

40-
# # This is test if works. For future we dont need this!
41-
# - name: Upload artifact
42-
# uses: actions/upload-artifact@v4
43-
# with:
44-
# name: EIV_Game_DOTNET-${{ matrix.builds }}
45-
# path: Out
46-
# if-no-files-found: error
41+
- name: Package
42+
run: dotnet pack EIV_Game.csproj -c ${{ matrix.builds }} -o Out
43+
44+
- name: Upload artifact
45+
uses: actions/upload-artifact@v4
46+
with:
47+
name: EIV_Game_DOTNET-${{ matrix.builds }}
48+
path: Out
49+
if-no-files-found: error

0 commit comments

Comments
 (0)