File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ jobs:
213213 needs :
214214 - build-cli
215215 - version
216+ if : github.ref_name != 'beta'
216217 continue-on-error : false
217218 env :
218219 AZURE_CLIENT_ID : ${{ secrets.AZURE_CLIENT_ID }}
@@ -547,6 +548,7 @@ jobs:
547548 - sign-cli-windows
548549 - build-tauri
549550 - build-electron
551+ if : always() && !failure() && !cancelled()
550552 runs-on : blacksmith-4vcpu-ubuntu-2404
551553 steps :
552554 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const releaseId = process.env.OPENCODE_RELEASE
2121if ( ! releaseId ) throw new Error ( "OPENCODE_RELEASE is required" )
2222
2323const version = process . env . OPENCODE_VERSION
24- if ( ! releaseId ) throw new Error ( "OPENCODE_VERSION is required" )
24+ if ( ! version ) throw new Error ( "OPENCODE_VERSION is required" )
2525
2626const token = process . env . GH_TOKEN ?? process . env . GITHUB_TOKEN
2727if ( ! token ) throw new Error ( "GH_TOKEN or GITHUB_TOKEN is required" )
@@ -54,7 +54,10 @@ const assets = release.assets ?? []
5454const assetByName = new Map ( assets . map ( ( asset ) => [ asset . name , asset ] ) )
5555
5656const latestAsset = assetByName . get ( "latest.json" )
57- if ( ! latestAsset ) throw new Error ( "latest.json asset not found" )
57+ if ( ! latestAsset ) {
58+ console . log ( "latest.json not found, skipping tauri finalization" )
59+ process . exit ( 0 )
60+ }
5861
5962const latestRes = await fetch ( latestAsset . url , {
6063 headers : {
You can’t perform that action at this time.
0 commit comments