Skip to content

Commit f2c088c

Browse files
authored
[GH Workflow]: Use inputs.module variable for uploading artifacts. (#1388)
Looks like there was a regression introduced - Jetcaster artifacts were not uplaoded on successful builds. See: https://github.com/android/compose-samples/actions/runs/8926918741 Workflow run with this change: https://github.com/android/compose-samples/actions/runs/8927043650
2 parents 3669144 + da032d9 commit f2c088c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-sample.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ jobs:
7777
uses: actions/upload-artifact@v4
7878
with:
7979
name: build-outputs
80-
path: ${{ inputs.path }}/app/build/outputs
80+
path: ${{ inputs.path }}/${{ inputs.module }}/build/outputs
8181

8282
- name: Upload build reports
8383
if: always()
8484
uses: actions/upload-artifact@v4
8585
with:
8686
name: build-reports
87-
path: ${{ inputs.path }}/app/build/reports
87+
path: ${{ inputs.path }}/${{ inputs.module }}/build/reports

0 commit comments

Comments
 (0)