From 8299b6535e3730a7faaded1a533fc6cce7452757 Mon Sep 17 00:00:00 2001 From: "Ch.-David Blot" Date: Mon, 29 Sep 2025 09:49:55 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20ci:=20trigger=20build=20on=20mai?= =?UTF-8?q?n=20branches?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/scripts/build-osc-sdk.sh | 2 +- .github/workflows/release-osc-api.yml | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/scripts/build-osc-sdk.sh b/.github/scripts/build-osc-sdk.sh index 9bced2c..78653f4 100755 --- a/.github/scripts/build-osc-sdk.sh +++ b/.github/scripts/build-osc-sdk.sh @@ -2,7 +2,7 @@ set -e WHICH_SDK=$1 -BRANCH="master" +BRANCH="main" if [ $# -gt 1 ]; then BRANCH=$2 diff --git a/.github/workflows/release-osc-api.yml b/.github/workflows/release-osc-api.yml index ea04f44..57be9a2 100644 --- a/.github/workflows/release-osc-api.yml +++ b/.github/workflows/release-osc-api.yml @@ -18,6 +18,12 @@ jobs: GH_TOKEN: ${{ secrets.GH_TOKEN_OSC_SDK_GO }} API_VERSION: ${{ steps.release.outputs.TAG }} run: .github/scripts/build-osc-sdk.sh osc-sdk-go v2 + - name: Trigger osc-sdk-go build (alpha) + continue-on-error: true + env: + GH_TOKEN: ${{ secrets.GH_TOKEN_OSC_SDK_GO }} + API_VERSION: ${{ steps.release.outputs.TAG }} + run: .github/scripts/build-osc-sdk.sh osc-sdk-go v3 osc-sdk-python: runs-on: ubuntu-latest steps: @@ -59,7 +65,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GH_TOKEN_OSC_SDK_C }} API_VERSION: ${{ steps.release.outputs.TAG }} - run: .github/scripts/build-osc-sdk.sh osc-sdk-c + run: .github/scripts/build-osc-sdk.sh osc-sdk-c master osc-sdk-js: runs-on: ubuntu-latest steps: @@ -73,7 +79,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GH_TOKEN_OSC_SDK_JS }} API_VERSION: ${{ steps.release.outputs.TAG }} - run: .github/scripts/build-osc-sdk.sh osc-sdk-js main + run: .github/scripts/build-osc-sdk.sh osc-sdk-js osc-sdk-java: runs-on: ubuntu-latest steps: @@ -87,4 +93,4 @@ jobs: env: GH_TOKEN: ${{ secrets.GH_TOKEN_OSC_SDK_JAVA }} API_VERSION: ${{ steps.release.outputs.TAG }} - run: .github/scripts/build-osc-sdk.sh osc-sdk-java main + run: .github/scripts/build-osc-sdk.sh osc-sdk-java