Skip to content

Commit 5ba1e2b

Browse files
chore: Upload build logs even for failed builds (#4129)
1 parent b1d3972 commit 5ba1e2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,11 @@ jobs:
112112
run: dotnet restore Sentry-CI-Build-${{ runner.os }}.slnf --nologo
113113

114114
- name: Build
115+
id: build
115116
run: dotnet build Sentry-CI-Build-${{ runner.os }}.slnf -c Release --no-restore --nologo -v:minimal -flp:logfile=build.log -p:CopyLocalLockFileAssemblies=true -bl:build.binlog
116117

117118
- name: Upload build logs
119+
if: ${{ steps.build.outcome != 'skipped' }}
118120
uses: actions/upload-artifact@v4
119121
with:
120122
name: ${{ runner.os }}-build-logs

0 commit comments

Comments
 (0)