diff --git a/.github/workflows/release-dotnet.yml b/.github/workflows/release-dotnet.yml index 8a6c8645..29d0fc46 100644 --- a/.github/workflows/release-dotnet.yml +++ b/.github/workflows/release-dotnet.yml @@ -1,17 +1,13 @@ name: .NET (release) on: + workflow_call: workflow_dispatch: inputs: packageVersion: description: 'Version to build' required: true default: '' - workflow_run: - workflows: ["Release Platform Libraries"] - branches: ["main", "v?.*"] - types: - - completed jobs: package_nuget: diff --git a/.github/workflows/release-golang.yml b/.github/workflows/release-golang.yml index feade6bf..2a81ae07 100644 --- a/.github/workflows/release-golang.yml +++ b/.github/workflows/release-golang.yml @@ -1,17 +1,13 @@ name: "Golang (release)" on: + workflow_call: workflow_dispatch: inputs: packageVersion: description: 'Version to build' required: true default: '' - workflow_run: - workflows: ["Release Platform Libraries"] - branches: ["main", "v?.*"] - types: - - completed jobs: publish_go_tag: diff --git a/.github/workflows/release-java.yml b/.github/workflows/release-java.yml index 19322f11..b13f968e 100644 --- a/.github/workflows/release-java.yml +++ b/.github/workflows/release-java.yml @@ -1,17 +1,13 @@ name: Java (release) on: + workflow_call: workflow_dispatch: inputs: packageVersion: description: 'Version to build' required: true default: '' - workflow_run: - workflows: ["Release Platform Libraries"] - branches: [main, "v?.*"] - types: - - completed jobs: build: diff --git a/.github/workflows/release-libs.yml b/.github/workflows/release-libs.yml index 4e3fa0c9..e1e41f49 100644 --- a/.github/workflows/release-libs.yml +++ b/.github/workflows/release-libs.yml @@ -1,9 +1,9 @@ -name: Release Platform Libraries +name: "Release Platform Libraries" on: workflow_dispatch: release: - types: [published] + types: [published, prereleased] jobs: publish_binaries_bundle: @@ -33,3 +33,35 @@ jobs: tag: ${{ env.RELEASE_VERSION }} overwrite: true body: "Okapi binaries bundle" + + release-dotnet-wrapper: + uses: ./.github/workflows/release-dotnet.yaml + needs: publish_binaries_bundle + + release-golang-wrapper: + uses: ./.github/workflows/release-golang.yaml + needs: publish_binaries_bundle + + release-java-wrapper: + uses: ./.github/workflows/release-java.yaml + needs: publish_binaries_bundle + + release-python-wrapper: + uses: ./.github/workflows/release-python.yaml + needs: publish_binaries_bundle + + release-ruby-wrapper: + uses: ./.github/workflows/release-ruby.yaml + needs: publish_binaries_bundle + + release-rust-wrapper: + uses: ./.github/workflows/release-rust.yaml + needs: publish_binaries_bundle + + release-swift-wrapper: + uses: ./.github/workflows/release-swift.yaml + needs: publish_binaries_bundle + + release-wasm-wrapper: + uses: ./.github/workflows/release-wasm.yaml + needs: publish_binaries_bundle \ No newline at end of file diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index ddada8ae..bc96fbf7 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -1,17 +1,13 @@ name: "Python (release)" on: + workflow_call: workflow_dispatch: inputs: packageVersion: description: 'Version to build' required: true default: '' - workflow_run: - workflows: ["Release Platform Libraries"] - branches: [main, "v?.*"] - types: - - completed jobs: release_pypi: diff --git a/.github/workflows/release-ruby.yml b/.github/workflows/release-ruby.yml index 04b41c95..6948bde3 100644 --- a/.github/workflows/release-ruby.yml +++ b/.github/workflows/release-ruby.yml @@ -1,17 +1,13 @@ name: Ruby (release) on: + workflow_call: workflow_dispatch: inputs: packageVersion: description: 'Version to build' required: true default: '' - workflow_run: - workflows: ["Release Platform Libraries"] - branches: [main, "v?.*"] - types: - - completed jobs: build: diff --git a/.github/workflows/release-rust.yml b/.github/workflows/release-rust.yml index 25835048..b62931c3 100644 --- a/.github/workflows/release-rust.yml +++ b/.github/workflows/release-rust.yml @@ -1,17 +1,13 @@ name: "Rust (release)" on: + workflow_call: workflow_dispatch: inputs: packageVersion: description: 'Version to build' required: true default: '' - workflow_run: - workflows: ["Release Platform Libraries"] - branches: ["main", "v?.*"] - types: - - completed jobs: homebrew: diff --git a/.github/workflows/release-swift.yml b/.github/workflows/release-swift.yml index 0183ec24..3d496672 100644 --- a/.github/workflows/release-swift.yml +++ b/.github/workflows/release-swift.yml @@ -1,17 +1,13 @@ name: "Swift (release)" on: + workflow_call: workflow_dispatch: inputs: packageVersion: description: 'Version to build' required: true default: '' - workflow_run: - workflows: ["Release Platform Libraries"] - branches: ["main", "v?.*"] - types: - - completed jobs: xcframework: diff --git a/.github/workflows/release-wasm.yml b/.github/workflows/release-wasm.yml index 29b72261..35b993e6 100644 --- a/.github/workflows/release-wasm.yml +++ b/.github/workflows/release-wasm.yml @@ -1,17 +1,13 @@ name: "Wasm (release)" on: + workflow_call: workflow_dispatch: inputs: packageVersion: description: 'Version to build' required: true - default: '' # For beta release: v1.0.0-beta.N N=beta number https://kevinkreuzer.medium.com/publishing-a-beta-or-alpha-version-to-npm-46035b630dd7 - workflow_run: - workflows: ["Release Platform Libraries"] - branches: ["main", "v?.*"] - types: - - completed + default: '' # For beta release: v1.0.0-rc[N] N=release candidate number https://kevinkreuzer.medium.com/publishing-a-beta-or-alpha-version-to-npm-46035b630dd7 jobs: publish_npm: