Skip to content

Commit a4f74cf

Browse files
authored
Update main.yml step order (#77)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Improved artifact management by adding a new step for uploading binlogs after test execution. - Removed redundant upload step for binlogs and adjusted package upload to run unconditionally. - Streamlined workflow configuration while maintaining existing structure and functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Richard Murillo <[email protected]>
1 parent 4d6a611 commit a4f74cf

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

Diff for: .github/workflows/main.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ jobs:
8484
- name: Test
8585
run: dotnet test --no-build --configuration Release --settings ./build/targets/tests/test.runsettings
8686

87+
- name: Upload binlogs
88+
uses: actions/upload-artifact@v4
89+
if: success() || failure()
90+
with:
91+
name: binlogs-${{ matrix.os }}
92+
path: ./artifacts/logs
93+
if-no-files-found: error
94+
8795
- name: Upload *.received.* files
8896
uses: actions/upload-artifact@v4
8997
if: failure()
@@ -125,17 +133,8 @@ jobs:
125133
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
126134
coverage-reports: ${{ github.workspace }}/artifacts/TestResults/coverage/Cobertura.xml
127135

128-
- name: Upload binlogs
129-
uses: actions/upload-artifact@v4
130-
if: success() || failure()
131-
with:
132-
name: binlogs-${{ matrix.os }}
133-
path: ./artifacts/logs
134-
if-no-files-found: error
135-
136136
- name: Upload packages
137137
uses: actions/upload-artifact@v4
138-
if: success()
139138
with:
140139
name: packages-${{ matrix.os }}
141140
path: |

0 commit comments

Comments
 (0)