Skip to content

Commit e715500

Browse files
fix: update artifact upload path for MPK based on module type
1 parent 2ec269f commit e715500

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/BuildMpk.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@ jobs:
5555
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 #v4
5656
with:
5757
name: ${{ inputs.module }}-${{ steps.bump_version.outputs.VERSION }}.mpk
58-
path: tmp/${{ inputs.module }}/**/*.mpk
58+
path: ${{ inputs.module == 'mobile-resources-native' && 'tmp/mobile-resources-native/NativeMobileResources.mpk' || 'tmp/nanoflow-actions-native/NanoflowCommons.mpk' }}
5959
if-no-files-found: error
6060

6161
- name: "Cleanup tmp folder"
6262
if: ${{ always() }}
63-
run: rm -rf tmp
63+
run: |
64+
sudo rm -rf tmp || true

0 commit comments

Comments
 (0)