Skip to content

Commit bdf1d5f

Browse files
committed
chore: add upload of release artifacts to GitHub releases
1 parent bebcf08 commit bdf1d5f

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/main.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,28 @@
599599
"if": "matrix.host.upload",
600600
"name": "Push container sync_jwks_to_configmap:sync_jwks_to_configmap",
601601
"run": "bazel run --stamp //cmd/sync_jwks_to_configmap:sync_jwks_to_configmap_container_push"
602+
},
603+
{
604+
"if": "matrix.host.upload",
605+
"name": "Download release artifacts",
606+
"uses": "actions/download-artifact@v4",
607+
"with": {
608+
"merge-multiple": true
609+
}
610+
},
611+
{
612+
"if": "matrix.host.upload",
613+
"name": "Calculate shasum",
614+
"run": "shasum -a 256 assets/* > sha256"
615+
},
616+
{
617+
"if": "matrix.host.upload",
618+
"name": "Create GitHub release and upload artifacts",
619+
"uses": "softprops/action-gh-release@v2",
620+
"with": {
621+
"make_latest": "true",
622+
"files": [ "assets/*", "sha256" ]
623+
}
602624
}
603625
],
604626
"strategy": {

0 commit comments

Comments
 (0)