diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2021-10-03 02:42:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-03 02:42:37 -0400 |
commit | 9071e372834c92304bf104ae827971c48dbac6d1 (patch) | |
tree | 5f48ad9ec9e837b210ee859c223bc8024c51fc45 /.github/workflows/deployment.yml | |
parent | 865d0dac786ca1fd8662899d42a4d24d741ac6a3 (diff) |
ci: only create nightly release if build passes (#590)
Changes the nightly build workflow to delete/create a new release *only* if the entire build process passes. This avoids a potential case of a nightly build failing but having overwritten the old one, which has happened before.
After this change lands, similar changes will probably be made to the deployment script for releases.
Diffstat (limited to '.github/workflows/deployment.yml')
-rw-r--r-- | .github/workflows/deployment.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 3cf29c6a..70fd7d5a 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -450,7 +450,7 @@ jobs: - name: Execute choco packaging script run: | - python "./deployment/windows/choco/choco_packager.py" "./artifacts/bottom_i686-pc-windows-msvc.zip" "./artifacts/bottom_x86_64-pc-windows-msvc.zip" ${{ env.RELEASE_VERSION }} "./deployment/windows/choco/bottom.nuspec.template" "./deployment/windows/choco/chocolateyinstall.ps1.template" "bottom.nuspec" "tools/chocolateyinstall.ps1" "tools/" + python "./deployment/windows/choco/choco_packager.py" "./artifacts/bottom_i686-pc-windows-msvc.zip" "./artifacts/bottom_x86_64-pc-windows-msvc.zip" ${{ env.RELEASE_VERSION }} "./deployment/windows/choco/bottom.nuspec.template" "./deployment/windows/choco/chocolatey_install.ps1.template" "bottom.nuspec" "tools/chocolatey_install.ps1" "tools/" zip -r choco.zip "bottom.nuspec" "tools" - name: Upload choco.zip to release |