Skip to content

Commit ddfaabd

Browse files
fix: add checkout step before local composite action
Local composite actions require the repo to be checked out first. Move checkout from the composite action to the calling workflows. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0088d93 commit ddfaabd

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎.github/actions/setup-tauri-build/action.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ outputs:
2222
runs:
2323
using: 'composite'
2424
steps:
25-
- name: Checkout repository
26-
uses: actions/checkout@v6
27-
with:
28-
fetch-depth: 1
29-
3025
- name: Setup Ruby
3126
uses: ruby/setup-ruby@v1
3227
with:

‎.github/workflows/build-android-app.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
ANDROID_NDK_HOME: /opt/homebrew/share/android-commandlinetools/ndk/28.2.13676358
3939
NDK_HOME: /opt/homebrew/share/android-commandlinetools/ndk/28.2.13676358
4040
steps:
41+
- name: Checkout repository
42+
uses: actions/checkout@v6
43+
4144
- name: Setup Tauri build environment
4245
uses: ./.github/actions/setup-tauri-build
4346
with:

‎.github/workflows/build-ios-app.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
BUNDLE_FROZEN: "true"
3535
RUBYOPT: "-W0"
3636
steps:
37+
- name: Checkout repository
38+
uses: actions/checkout@v6
39+
3740
- name: Setup Tauri build environment
3841
uses: ./.github/actions/setup-tauri-build
3942
with:

0 commit comments

Comments
 (0)