summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-02-26 12:20:31 -0500
committerNat Goodspeed <nat@lindenlab.com>2024-02-26 12:20:31 -0500
commitc6a6db8488a8b3e7ea6534fbf5e2fe2b17864421 (patch)
treefd7ef79474927f4315de64fa2eab17af51588036
parenta908b4cfa98716d4a838fc1e5a6789faa15d16cf (diff)
Try basing the GH release on github.ref_name instead of github.ref.
Using github.ref as action-gh-release's target_commitish produces: ⚠️ GitHub release failed with status: 422 [{"resource":"Release","code":"invalid","field":"target_commitish"}]
-rw-r--r--.github/workflows/build.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index c78c8c656b..622ceb4afe 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -382,7 +382,7 @@ jobs:
${{ needs.build.outputs.relnotes }}
prerelease: true
generate_release_notes: true
- target_commitish: ${{ github.ref }}
+ target_commitish: ${{ github.ref_name }}
append_body: true
fail_on_unmatched_files: true
files: |