@@ -55,15 +55,11 @@ jobs:
5555 runs-on : windows-latest # For a list of available runner types, refer to
5656 # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
5757
58- env :
59- GabNetStats_Solution_Name : GabNetStats
60- GabTracker_Solution_Name : GabTracker
61-
6258 steps :
6359 - name : Checkout GabNetStats
6460 uses : actions/checkout@v6
6561 with :
66- path : GabNetStats
62+ path : GabNetStatsRepo
6763 fetch-depth : 0
6864
6965 - name : Checkout GabTracker
@@ -85,15 +81,21 @@ jobs:
8581
8682 # Builds the application with dotnet command
8783 - name : Build the application
88- run : dotnet build -c $env:Configuration $env:GabNetStats_Solution_Name\$env:GabNetStats_Solution_Name.sln
84+ run : dotnet build -c $env:Configuration GabNetStatsRepo\GabNetStats.sln
85+ env :
86+ Configuration : ${{ matrix.configuration }}
87+
88+ - name : Create dist directory
89+ run : mkdir dist
90+
91+ - name : Copy to dist directory
92+ run : Copy-item -Force -Recurse -Verbose GabNetStatsRepo\GabNetStats\bin\$env:Configuration\net10.0-windows10.0.26100.0\ -Destination dist
8993 env :
9094 Configuration : ${{ matrix.configuration }}
91-
95+
9296 # Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact
9397 - name : Upload build artifacts
94- uses : actions/upload-artifact@v4
98+ uses : actions/upload-artifact@v6
9599 with :
96100 name : GabNetStats
97- path : GabNetStats\GabNetStats\GabNetStats\bin\$env:Configuration\net10.0-windows10.0.26100.0\
98- env :
99- Configuration : ${{ matrix.configuration }}
101+ path : dist
0 commit comments