File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 runs-on : ubuntu-latest
12+ defaults :
13+ run :
14+ working-directory : src
1215 steps :
1316 - uses : actions/checkout@v4
1417
@@ -18,24 +21,23 @@ jobs:
1821 dotnet-version : ${{ env.DOTNET_VERSION }}
1922
2023 - name : Restore
21- run : dotnet restore CodeClash.sln --ignore-failed-sources
24+ run : dotnet restore
2225 env :
2326 DOTNET_NOLOGO : true
2427
2528 - name : Build
2629 run : >
27- dotnet build CodeClash.sln
30+ dotnet build
2831 --configuration Release
2932 --no-restore
3033 -p:TreatWarningsAsErrors=true
3134 -p:EnforceCodeStyleInBuild=true
32- /p:DockerComposeProjectsPath=
3335 env :
3436 DOTNET_NOLOGO : true
3537
3638 - name : Test
3739 run : >
38- dotnet test CodeClash.sln
40+ dotnet test
3941 --configuration Release
4042 --no-restore
4143 --no-build
@@ -49,14 +51,14 @@ jobs:
4951 uses : actions/upload-artifact@v4
5052 with :
5153 name : test-results
52- path : " **/TestResults/*.trx"
54+ path : src/ **/TestResults/*.trx
5355
54- - name : Publish API
56+ - name : Publish
5557 run : >
56- dotnet publish src/ CodeClash.API/CodeClash.API.csproj
58+ dotnet publish CodeClash.API/CodeClash.API.csproj
5759 --configuration Release
5860 --no-restore
5961 --no-build
60- --output ./publish
62+ --output .. /publish
6163 env :
6264 DOTNET_NOLOGO : true
You can’t perform that action at this time.
0 commit comments