From 73a857ba31a21add60db349fc29fb9f7a5edfa00 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Sat, 22 Jul 2023 08:32:21 -0400 Subject: SL-18837: Use 'needs' context, not 'jobs' context in release job to reference outputs from the build job. Also mark the release as prerelease, and fail the release action if we still can't find the files we're trying to post. --- .github/workflows/build.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3ea58d9c09..01f7f2bd7b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -247,7 +247,10 @@ jobs: # forked from softprops/action-gh-release - uses: secondlife-3p/action-gh-release@v1 with: + prerelease: true generate_release_notes: true + # the only reason we generate a GH release is to post build products + fail_on_unmatched_files: true files: | - ${{ jobs.build.outputs.installer }} - ${{ jobs.build.outputs.metadata }} + ${{ needs.build.outputs.installer }} + ${{ needs.build.outputs.metadata }} -- cgit v1.2.3