diff options
author | Rob Mensching <rob@firegiant.com> | 2022-01-03 09:37:32 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2022-01-03 12:42:39 -0800 |
commit | 42b7ac1da504dbdf76247bb96e356c9e29b22248 (patch) | |
tree | bbdb560d6dc27391e630db1075afeb98e81861f1 /.github | |
parent | 612449eb63139d05df02dcdba9f6ade113e9c80a (diff) | |
download | wix-42b7ac1da504dbdf76247bb96e356c9e29b22248.tar.gz wix-42b7ac1da504dbdf76247bb96e356c9e29b22248.tar.bz2 wix-42b7ac1da504dbdf76247bb96e356c9e29b22248.zip |
Push WiX v4 .nupkgs to GitHub Packages
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 | ||