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