Skip to content

Commit 6bd81a3

Browse files
committed
Don't collect logs anymore
This takes up space in GH artifact storage quota and isn't very useful since the build is so trivial you can reproduce it locally consistently.
1 parent 0fc6e0e commit 6bd81a3

File tree

3 files changed

+7
-28
lines changed

3 files changed

+7
-28
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,14 @@ jobs:
4646
fetch-depth: 0
4747

4848
- name: 🙏 build
49-
run: dotnet build -m:1 -bl:build.binlog -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER" -p:RepositoryBranch=${GITHUB_REF#refs/*/}
49+
run: dotnet build -m:1 -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER" -p:RepositoryBranch=${GITHUB_REF#refs/*/}
5050

5151
- name: 🧪 test
52-
run: dotnet test --no-build -m:1 --blame-hang --blame-hang-timeout 5m -d $GITHUB_WORKSPACE/logs/${{ matrix.os }}.txt -r $GITHUB_WORKSPACE/logs
52+
run: dotnet test --no-build -m:1 --blame-hang --blame-hang-timeout 5m
5353

5454
- name: 📦 pack
55-
run: dotnet pack -m:1 -bl:pack.binlog -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER" -p:RepositoryBranch=${GITHUB_REF#refs/*/}
55+
run: dotnet pack -m:1 -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER" -p:RepositoryBranch=${GITHUB_REF#refs/*/}
5656

57-
- name: 🔼 logs
58-
if: always()
59-
uses: actions/upload-artifact@v2
60-
with:
61-
name: ${{ matrix.os }}
62-
path: |
63-
**/*.binlog
64-
logs/**/*.*
65-
6657
# Only push CI package to sleet feed if building on ubuntu (fastest)
6758
- name: 🚀 sleet
6859
env:

.github/workflows/publish.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,13 @@ jobs:
2222
fetch-depth: 0
2323

2424
- name: 🙏 build
25-
run: dotnet build -m:1 -bl:build.binlog -p:version=${GITHUB_REF#refs/*/v} -p:RepositoryBranch=${GITHUB_REF#refs/*/}
25+
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v} -p:RepositoryBranch=${GITHUB_REF#refs/*/}
2626

2727
- name: 🧪 test
2828
run: dotnet test --no-build -m:1
2929

3030
- name: 📦 pack
31-
run: dotnet pack -m:1 -bl:pack.binlog -p:version=${GITHUB_REF#refs/*/v} -p:RepositoryBranch=${GITHUB_REF#refs/*/}
32-
33-
- name: 🔼 logs
34-
if: ${{ always() }}
35-
uses: actions/upload-artifact@v2
36-
with:
37-
path: '**/*.binlog'
31+
run: dotnet pack -m:1 -p:version=${GITHUB_REF#refs/*/v} -p:RepositoryBranch=${GITHUB_REF#refs/*/}
3832

3933
- name: 🚀 nuget
4034
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate

.github/workflows/release-artifacts.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,13 @@ jobs:
2020
run: echo "CURRENT_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
2121

2222
- name: 🙏 build
23-
run: dotnet build -m:1 -bl:build.binlog -p:version=${GITHUB_REF#refs/*/v} -p:RepositoryBranch=${GITHUB_REF#refs/*/}
23+
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v} -p:RepositoryBranch=${GITHUB_REF#refs/*/}
2424

2525
- name: 🧪 test
2626
run: dotnet test --no-build -m:1
2727

2828
- name: 📦 pack
29-
run: dotnet pack -m:1 -bl:pack.binlog -p:version=${GITHUB_REF#refs/*/v} -p:RepositoryBranch=${GITHUB_REF#refs/*/}
30-
31-
- name: 🔼 logs
32-
if: ${{ always() }}
33-
uses: actions/upload-artifact@v2
34-
with:
35-
path: '**/*.binlog'
29+
run: dotnet pack -m:1 -p:version=${GITHUB_REF#refs/*/v} -p:RepositoryBranch=${GITHUB_REF#refs/*/}
3630

3731
- name: 🔽 gh
3832
run: |

0 commit comments

Comments
 (0)