Skip to content

Commit 0e0cb6e

Browse files
authored
Remove sha input for all releases (#688)
1 parent 0bc907c commit 0e0cb6e

File tree

4 files changed

+1
-57
lines changed

4 files changed

+1
-57
lines changed

.github/workflows/example_apps_android.yaml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,9 @@
11
name: Build Android example apps
22
on:
33
workflow_dispatch:
4-
inputs:
5-
sha:
6-
description: '[Optional] Commit SHA1, branch or tag to build. The latest SHA1 on a given branch is used if no value is provided.'
7-
required: false
8-
type: string
94
workflow_call:
10-
inputs:
11-
sha:
12-
description: '[Optional] Commit SHA1, branch or tag to build. The latest SHA1 on a given branch is used if no value is provided.'
13-
required: false
14-
type: string
155

166
jobs:
17-
print_arguments:
18-
name: Print arguments
19-
runs-on: ubuntu-latest
20-
steps:
21-
- name: Print entered "sha"
22-
run: echo "$SHA"
23-
env:
24-
SHA: ${{ inputs.sha }}
25-
267
build:
278
name: Build & upload
289
runs-on: ubuntu-latest
@@ -39,7 +20,7 @@ jobs:
3920
- name: Setup Android cmd line tools + NDK
4021
uses: ./.github/actions/common-android-setup
4122
- name: Accept Android SDK licenses
42-
run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
23+
run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
4324
- name: Install Rust target
4425
run: rustup update && rustup target add aarch64-linux-android && rustup target add x86_64-linux-android
4526
- name: Build Android example app

.github/workflows/example_apps_ios.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,9 @@
11
name: Build iOS example apps
22
on:
33
workflow_dispatch:
4-
inputs:
5-
sha:
6-
description: '[Optional] Commit SHA1, branch or tag to build. The latest SHA1 on a given branch is used if no value is provided.'
7-
required: false
8-
type: string
94
workflow_call:
10-
inputs:
11-
sha:
12-
description: '[Optional] Commit SHA1, branch or tag to build. The latest SHA1 on a given branch is used if no value is provided.'
13-
required: false
14-
type: string
155

166
jobs:
17-
print_arguments:
18-
name: Print arguments
19-
runs-on: ubuntu-latest
20-
steps:
21-
- name: Print entered "sha"
22-
run: echo "$SHA"
23-
env:
24-
SHA: ${{ inputs.sha }}
25-
267
build:
278
name: Build & upload
289
permissions:

.github/workflows/release_gh.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,15 @@ jobs:
2121
run: |
2222
echo "$VERSION"
2323
if [[ ! "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[a-z]+(\.[0-9]+)?)?$ ]]; then exit 1; fi
24-
- name: Print entered "sha"
25-
run: echo "$SHA"
2624
env:
2725
VERSION: ${{ inputs.version }}
28-
SHA: ${{ inputs.sha }}
2926
# The iOS release build builds the xcframework in release mode and uploads it to the artifact store for later use.
3027
ios-release-build:
3128
name: Capture.xcframework with artifacts
3229
needs: ["verify-version"]
3330
runs-on: macos-15
3431
steps:
3532
- uses: actions/checkout@v4
36-
with:
37-
ref: ${{ inputs.sha }}
3833
- name: 'Update the content of platform/shared/.sdk_version'
3934
run: echo -n "${{ inputs.version }}" > platform/shared/.sdk_version
4035
- name: 'Install dependencies'
@@ -57,8 +52,6 @@ jobs:
5752
permissions:
5853
contents: write
5954
uses: ./.github/workflows/example_apps_ios.yaml
60-
with:
61-
sha: ${{ inputs.sha }}
6255
secrets: inherit
6356

6457
# The Android release build builds capture.aar and accompanying artifacts, like the .pom xml and the symbols corresponding to the .so.
@@ -69,8 +62,6 @@ jobs:
6962
steps:
7063
# Checkout repo to Github Actions runner
7164
- uses: actions/checkout@v4
72-
with:
73-
ref: ${{ inputs.sha }}
7465
- name: 'Update the content of platform/shared/.sdk_version'
7566
run: echo -n "${{ inputs.version }}" > platform/shared/.sdk_version
7667
- name: Install Clang
@@ -88,8 +79,6 @@ jobs:
8879
permissions:
8980
contents: write
9081
uses: ./.github/workflows/example_apps_android.yaml
91-
with:
92-
sha: ${{ inputs.sha }}
9382
secrets: inherit
9483
build-android-integrations:
9584
name: Build Android Integrations
@@ -115,8 +104,6 @@ jobs:
115104
]
116105
steps:
117106
- uses: actions/checkout@v4
118-
with:
119-
ref: ${{ inputs.sha }}
120107
# Download all artifacts to current working directory
121108
- name: Download Android Capture artifacts
122109
uses: actions/download-artifact@v4

.github/workflows/update_sdk_version.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ on:
77
description: 'The new version to release, ex: 0.12.0'
88
required: true
99
type: string
10-
sha:
11-
description: '[Optional] Commit SHA1, branch or tag to build. The latest SHA1 on a given branch is used if no value is provided.'
12-
required: false
13-
type: string
1410
emergency:
1511
type: boolean
1612
description: Ignore main branch requirement (SOC2 compliance)
@@ -22,7 +18,6 @@ jobs:
2218
uses: ./.github/workflows/release_gh.yaml
2319
with:
2420
version: ${{ inputs.version }}
25-
sha: ${{ inputs.sha }}
2621
secrets: inherit
2722
public-release:
2823
permissions:

0 commit comments

Comments
 (0)