diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index dfc543c730..c33dfe5391 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -157,7 +157,7 @@ jobs: - uses: actions/upload-artifact@v2 with: name: com.michaeloborne.MissionPlanner.apk.zip - path: ExtLibs\Xamarin\Xamarin.Android\bin\Release\*-signed.apk + path: ExtLibs\Xamarin\Xamarin.Android\bin\Release/${{ github.event_name == 'push' && '*-signed.apk' || '*.apk' }} - uses: "marvinpinto/action-automatic-releases@v1.2.1" if: ${{ github.event_name == 'push' }}