diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2eeedec8..7a9aa795 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -48,14 +48,18 @@ jobs: | |||
48 | name: artifacts | 48 | name: artifacts |
49 | path: build/artifacts/ | 49 | path: build/artifacts/ |
50 | 50 | ||
51 | - name: Zip temp logs | 51 | - name: Collect integration test logs |
52 | if: always() | ||
52 | shell: cmd | 53 | shell: cmd |
53 | run: 7z a "build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log" | 54 | run: 7z a "build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log" |
54 | if: always() | ||
55 | 55 | ||
56 | - name: Save logs | 56 | - name: Save logs |
57 | uses: actions/upload-artifact@v2 | ||
58 | if: always() | 57 | if: always() |
58 | uses: actions/upload-artifact@v2 | ||
59 | with: | 59 | with: |
60 | name: logs_${{ github.run_id }} | 60 | name: logs_${{ github.run_id }} |
61 | path: build/logs/ | 61 | path: build/logs/ |
62 | |||
63 | - name: Push to GitHub Packages | ||
64 | if: ${{ github.event_name == 'push' && github.repository_owner == 'wixtoolset' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop') }} | ||
65 | run: dotnet nuget push "build/artifacts/**/*.nupkg" --source https://nuget.pkg.github.com/wixtoolset/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate | ||