From 253105cf47ed02dc0d659b340516cb6acf2e430b Mon Sep 17 00:00:00 2001 From: Manos Konstantinidis Date: Thu, 13 Oct 2022 10:57:55 +0100 Subject: [PATCH 1/8] Update demo-app.yml --- .github/workflows/demo-app.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/demo-app.yml b/.github/workflows/demo-app.yml index ad7b3145..2e87c395 100644 --- a/.github/workflows/demo-app.yml +++ b/.github/workflows/demo-app.yml @@ -72,7 +72,6 @@ jobs: run-visual-regression-android: runs-on: macos-11 - if: ${{ false }} steps: - uses: actions/checkout@v2 From f7e44b9cedf1fbfcd3ffecef8ce19e5dfb2f402e Mon Sep 17 00:00:00 2001 From: Manos Konstantinidis Date: Thu, 13 Oct 2022 11:10:34 +0100 Subject: [PATCH 2/8] Update demo-app.yml --- .github/workflows/demo-app.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/demo-app.yml b/.github/workflows/demo-app.yml index 2e87c395..7317f07e 100644 --- a/.github/workflows/demo-app.yml +++ b/.github/workflows/demo-app.yml @@ -76,6 +76,11 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v1 + with: + java-version: '11' + - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" From 3a7808075b8e94728e7897e65a632566a51d3f7b Mon Sep 17 00:00:00 2001 From: Manos Konstantinidis Date: Thu, 13 Oct 2022 11:23:22 +0100 Subject: [PATCH 3/8] Update demo-app.yml --- .github/workflows/demo-app.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/demo-app.yml b/.github/workflows/demo-app.yml index 7317f07e..2436ccc6 100644 --- a/.github/workflows/demo-app.yml +++ b/.github/workflows/demo-app.yml @@ -5,9 +5,10 @@ on: [pull_request] jobs: run-visual-regression-ios: runs-on: macos-11 + if: ${{ false }} # FIXME: Remove before merging steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Get Runner Information run: /usr/bin/xcodebuild -version @@ -76,8 +77,12 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 + - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: '11' @@ -85,7 +90,7 @@ jobs: id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -105,7 +110,7 @@ jobs: run: yarn install --frozen-lockfile working-directory: ./example - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: | ~/.gradle/caches From d61001a897491d819c32a98f01b56bf3bfa28069 Mon Sep 17 00:00:00 2001 From: Manos Konstantinidis Date: Thu, 13 Oct 2022 11:38:24 +0100 Subject: [PATCH 4/8] Update demo-app.yml --- .github/workflows/demo-app.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/demo-app.yml b/.github/workflows/demo-app.yml index 2436ccc6..60021e90 100644 --- a/.github/workflows/demo-app.yml +++ b/.github/workflows/demo-app.yml @@ -12,6 +12,10 @@ jobs: - name: Get Runner Information run: /usr/bin/xcodebuild -version + + - uses: actions/setup-node@v3 + with: + node-version: 16 - name: Get yarn cache directory path id: yarn-cache-dir-path @@ -75,17 +79,17 @@ jobs: runs-on: macos-11 steps: - - uses: actions/checkout@v2 - - - name: Setup tmate session - if: ${{ failure() }} - uses: mxschmitt/action-tmate@v3 + - uses: actions/checkout@v3 - name: Set up JDK 11 uses: actions/setup-java@v3 with: java-version: '11' + - uses: actions/setup-node@v3 + with: + node-version: 16 + - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" @@ -142,6 +146,10 @@ jobs: - name: Run Owl Test run: yarn owl:test:android working-directory: ./example + + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 - name: Store screenshots as artifacts uses: actions/upload-artifact@v2 From bbe9bd0a0f4d267ec0f003ca61f2bf4903c1001b Mon Sep 17 00:00:00 2001 From: Manos Konstantinidis Date: Thu, 13 Oct 2022 11:47:14 +0100 Subject: [PATCH 5/8] Update demo-app.yml --- .github/workflows/demo-app.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/demo-app.yml b/.github/workflows/demo-app.yml index 60021e90..7b9cdfd6 100644 --- a/.github/workflows/demo-app.yml +++ b/.github/workflows/demo-app.yml @@ -84,6 +84,7 @@ jobs: - name: Set up JDK 11 uses: actions/setup-java@v3 with: + distribution: 'zulu' java-version: '11' - uses: actions/setup-node@v3 From 41ed814a83b461d2d80988321adb7608d0fa41e1 Mon Sep 17 00:00:00 2001 From: Manos Konstantinidis Date: Thu, 13 Oct 2022 12:07:43 +0100 Subject: [PATCH 6/8] Update demo-app.yml --- .github/workflows/demo-app.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/demo-app.yml b/.github/workflows/demo-app.yml index 7b9cdfd6..a29fd113 100644 --- a/.github/workflows/demo-app.yml +++ b/.github/workflows/demo-app.yml @@ -125,10 +125,10 @@ jobs: ${{ runner.os }}-gradle- - name: SKDs - download required images - run: $ANDROID_HOME/tools/bin/sdkmanager "system-images;android-30;default;x86_64" + run: $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "system-images;android-30;default;x86_64" - name: SDKs - accept licenses - run: y | $ANDROID_HOME/tools/bin/sdkmanager --licenses + run: y | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses - name: Emulator - Create run: $ANDROID_HOME/tools/bin/avdmanager create avd -n Pixel_API_30 --device 'Nexus 5X' --package "system-images;android-30;default;x86_64" --sdcard 512M From 0b882ef8ca20d5e031693acd9df65f85c4c4b861 Mon Sep 17 00:00:00 2001 From: Manos Konstantinidis Date: Thu, 13 Oct 2022 12:12:31 +0100 Subject: [PATCH 7/8] Update demo-app.yml --- .github/workflows/demo-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/demo-app.yml b/.github/workflows/demo-app.yml index a29fd113..4f0774a2 100644 --- a/.github/workflows/demo-app.yml +++ b/.github/workflows/demo-app.yml @@ -131,7 +131,7 @@ jobs: run: y | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses - name: Emulator - Create - run: $ANDROID_HOME/tools/bin/avdmanager create avd -n Pixel_API_30 --device 'Nexus 5X' --package "system-images;android-30;default;x86_64" --sdcard 512M + run: $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd -n Pixel_API_30 --device 'Nexus 5X' --package "system-images;android-30;default;x86_64" --sdcard 512M - name: Emulator - Boot run: $ANDROID_HOME/emulator/emulator -memory 4096 -avd Pixel_API_30 -wipe-data -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim & From 62c91183b07819a7df586e050cc389915b8c8e70 Mon Sep 17 00:00:00 2001 From: Rob Walker Date: Sat, 10 Feb 2024 11:38:48 +0000 Subject: [PATCH 8/8] Create small-guests-think.md --- .changeset/small-guests-think.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/small-guests-think.md diff --git a/.changeset/small-guests-think.md b/.changeset/small-guests-think.md new file mode 100644 index 00000000..83d9c8ae --- /dev/null +++ b/.changeset/small-guests-think.md @@ -0,0 +1,5 @@ +--- +"react-native-owl": patch +--- + +chore: Enable Android workflow for the demo app