Skip to content

Commit c96a53e

Browse files
authored
Update slsa3-release.yaml
1 parent 250182b commit c96a53e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/slsa3-release.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,21 @@ jobs:
363363
echo "Major: $MAJOR, Minor: $MINOR, Patch: $PATCH"
364364
fi
365365

366+
- name: Create release
367+
if: ${{ github.event.inputs.version_server == 'version.groundseg.app' && github.event.inputs.release_channel == 'latest' }}
368+
uses: softprops/action-gh-release@v2
369+
env:
370+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
371+
with:
372+
tag_name: ${{ needs.args.outputs.bin-tag }}
373+
name: Release ${{ needs.args.outputs.bin-tag }} (${{ needs.args.outputs.channel }})
374+
draft: false
375+
prerelease: ${{ contains(needs.args.outputs.channel, 'edge') || contains(needs.args.outputs.channel, 'canary') }}
376+
files: |
377+
./groundseg_amd64_${{ needs.args.outputs.channel }}_${{ needs.args.outputs.bin-tag }}
378+
./groundseg_arm64_${{ needs.args.outputs.channel }}_${{ needs.args.outputs.bin-tag }}
379+
./groundseg_${{ needs.args.outputs.channel }}_${{ needs.args.outputs.bin-tag }}.jsonl
380+
366381
glob-upload:
367382
if: ${{ github.event.inputs.release_channel == 'glob-only' }}
368383
needs: [frontend-build]

0 commit comments

Comments
 (0)