From 193e38dca7539979e5d93b08263fd782b8d15152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Kwiecin=CC=81ski?= Date: Sun, 7 Aug 2022 23:55:34 +0100 Subject: [PATCH 1/2] ignore publishing errors --- .github/workflows/publish_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 6a55534d..e2ce1c34 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -37,6 +37,6 @@ jobs: SIGNING_SECRET_KEY_RING_FILE: ${{ secrets.SIGNING_SECRET_KEY_RING_FILE }} run: sudo bash -c "echo '$GPG_KEY_CONTENTS' | base64 -d > '$SIGNING_SECRET_KEY_RING_FILE'" - - run: ./gradlew publish + - run: ./gradlew publish --continue | true - run: ./gradlew publishPlugins From 7751a1f3ede2b7110ddd07427fecf5fd91a25acd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Kwiecin=CC=81ski?= Date: Sun, 7 Aug 2022 23:57:46 +0100 Subject: [PATCH 2/2] Enforce python3 --- .github/workflows/pull_request.yml | 6 ++---- sample/android/build.gradle | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 5176f25e..a1c0cb7b 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -141,8 +141,8 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip - python -m pip install 'Pillow==9.1.1' + python3 -m pip install --upgrade pip + python3 -m pip install 'Pillow==9.1.1' - name: run tests uses: reactivecircus/android-emulator-runner@v2 @@ -156,8 +156,6 @@ jobs: adb shell settings put global hidden_api_policy_p_apps 1 adb shell settings put global hidden_api_policy_pre_p_apps 1 adb shell settings put global hidden_api_policy 1 - python -m pip show Pillow - python -m pip show Pillow cd sample && ./gradlew verifyDebugAndroidTestScreenshotTest - name: Upload screenshot tests result diff --git a/sample/android/build.gradle b/sample/android/build.gradle index 2062d196..14ef653e 100644 --- a/sample/android/build.gradle +++ b/sample/android/build.gradle @@ -12,6 +12,7 @@ android { } } screenshots { + pythonExecutable "python3" failureDir "$buildDir/reports/failedScreenshots" }