From 2b0b59cbe191f478080015b733ae52cadaf38943 Mon Sep 17 00:00:00 2001 From: Mitch Alessio Date: Tue, 16 Jan 2024 18:05:28 -0500 Subject: [PATCH] Update release step to use action supporting "make_latest"; generate full release as latest --- .github/workflows/build-release.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 2ef2a3eb5b..a1aec7c7ee 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -204,14 +204,11 @@ jobs: - name: Release # Naively, only create GitHub Release object for purported non-prerelease versions if: ${{ !contains(inputs.releaseVersion, '-') }} - uses: softprops/action-gh-release@v1 + uses: ncipollo/release-action@v1 with: - prerelease: true - generate_release_notes: true - fail_on_unmatched_files: true - tag_name: "${{ inputs.releaseVersion }}" + makeLatest: true + generateReleaseNotes: true + artifactErrorsFailBuild: true + tag: "${{ inputs.releaseVersion }}" name: "v${{ inputs.releaseVersion }}" - files: | - *.csv - *.json - *.xlsx + artifacts: "*.csv,*.json,*.xlsx"