diff --git a/.github/workflows/fastlane_android.yml b/.github/workflows/fastlane_android.yml index 0a308f404..3f15fe884 100644 --- a/.github/workflows/fastlane_android.yml +++ b/.github/workflows/fastlane_android.yml @@ -216,15 +216,15 @@ jobs: adb shell am broadcast -a com.android.systemui.demo -e command notifications -e visible false adb shell am broadcast -a com.android.systemui.demo -e command battery -e plugged false -e level 100 $HOME/.maestro/bin/maestro test -e APP_ID=${{ inputs.package_name }} --include-tags=screenshots ./__maestro__ - - name: Upload to Amazon S3 + - name: Upload to S3 bucket uses: Noelware/s3-action@2.2.1 with: - files: './*.png' + files: '*.png' access-key-id: ${{ secrets.AWS_KEY_ID }} path-format: '/$(tag)' secret-key: ${{ secrets.AWS_SECRET_ACCESS_KEY}} endpoint: https://s3.fr-par.scw.cloud - prefix: /screenshots/android-${{ matrix.EMULATOR_ARCH }} + prefix: /screenshots/${{ inputs.app_name }}/android-${{ matrix.EMULATOR_ARCH }} region: fr-par bucket: coopcycle-ci - uses: actions/upload-artifact@v3