Skip to content

Commit

Permalink
Upload binlogs for troubleshooting purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Oct 11, 2023
1 parent 3b6886b commit 5f3a844
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,27 @@ jobs:
echo Chromium build https://crrev.com/$(curl --silent https://download-chromium.appspot.com/rev/Linux_x64?type=snapshots | grep -oP "\d{6,}") > src/chromium.linux-x64/readme.md
- name: 🙏 build
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v}
run: dotnet build -p:version=${GITHUB_REF#refs/*/v}

- name: 📦 binlog
uses: actions/upload-artifact@v3
if: always()
with:
name: binlog-build-${{ github.run_number }}
path: msbuild.binlog

- name: 🧪 test
uses: ./.github/workflows/test

- name: 📦 pack
run: dotnet pack -m:1 -p:version=${GITHUB_REF#refs/*/v}
run: dotnet pack -p:version=${GITHUB_REF#refs/*/v}

- name: 📦 binlog
uses: actions/upload-artifact@v3
if: always()
with:
name: binlog-pack-${{ github.run_number }}
path: msbuild.binlog

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

0 comments on commit 5f3a844

Please sign in to comment.