summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-07-22 08:32:21 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-07-22 08:32:21 -0400
commit73a857ba31a21add60db349fc29fb9f7a5edfa00 (patch)
tree3a063f62c12f71a589c26f4923e9b9d379fe5e07
parentf9a30e7ed13091f81686d183c25e57d732cee957 (diff)
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.
-rw-r--r--.github/workflows/build.yaml7
1 files 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 }}