ci: update build workflow to set latest flag on release

This commit is contained in:
Nicolas Giard 2023-01-10 23:48:18 -05:00 committed by GitHub
parent 250692997e
commit 26ef885642
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ jobs:
echo "NEXT_VERSION=$nextStrict" >> $GITHUB_ENV
- name: Create Draft Release
uses: ncipollo/release-action@v1.11.1
uses: ncipollo/release-action@v1.12.0
if: ${{ github.event.inputs.publish == 'true' && github.event.inputs.dryrun == 'false' }}
with:
prerelease: true
@ -382,10 +382,11 @@ jobs:
histCoveragePath: historical-coverage.json
- name: Create Release
uses: ncipollo/release-action@v1.11.1
uses: ncipollo/release-action@v1.12.0
if: ${{ env.SHOULD_DEPLOY == 'true' && github.event.inputs.dryrun == 'false' }}
with:
allowUpdates: true
makeLatest: true
draft: false
tag: ${{ env.PKG_VERSION }}
name: ${{ env.PKG_VERSION }}
@ -398,7 +399,6 @@ jobs:
if: ${{ github.event.inputs.updateCoverage == 'true' && github.event.inputs.dryrun == 'false' }}
with:
allowUpdates: true
makeLatest: true
tag: baseline
omitBodyDuringUpdate: true
omitNameDuringUpdate: true