Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke committed Sep 26, 2024
1 parent 0d7fb9a commit fb0bf6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
dist-path:
description: path to folder containing code to include in app. Omit if code not in a subfolder
type: string
default: ""
# TODO -test without dist paths
jobs:
android_build:
runs-on: ubuntu-latest
Expand All @@ -24,6 +24,10 @@ jobs:
sparse-checkout: ${{ inputs.dist-path }}
sparse-checkout-cone-mode: false

- name: Move repo code in nested folder
if: ${{ inputs.dist-path }}
run: mv dist/${{ inputs.dist-path }}/* dist

- name: Debug checkout files
run: |
echo $(ls)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
android_build:
uses: supportingami/programming-club-builder/.github/workflows/android-build.yml@feat/android-build-workflows
with:
dist-path: demo/
dist-path: demo

0 comments on commit fb0bf6c

Please sign in to comment.