From 568f4ad4c701af151c3bf3a333acbd78141a68dc Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Wed, 11 Sep 2024 20:46:51 +0200 Subject: [PATCH] fix build/Products missing from test-ios-xctest-runner job --- .github/workflows/test-e2e.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-e2e.yaml b/.github/workflows/test-e2e.yaml index d86e3beb6d..0f868066fa 100644 --- a/.github/workflows/test-e2e.yaml +++ b/.github/workflows/test-e2e.yaml @@ -32,12 +32,20 @@ jobs: - name: Build Maestro CLI run: ./gradlew :maestro-cli:distZip - - uses: actions/upload-artifact@v4 + - name: Upload zipped Maestro CLI artifact + uses: actions/upload-artifact@v4 with: name: maestro-cli-jdk${{ matrix.java-version }}-run_id${{ github.run_id }} path: maestro-cli/build/distributions/maestro.zip retention-days: 1 + - name: Upload build/Products to artifacts + uses: actions/upload-artifact@v4 + with: + name: build__Products-jdk${{ matrix.java-version }} + path: build/Products + retention-days: 1 + test-android: name: Test on Android runs-on: ubuntu-latest @@ -289,11 +297,17 @@ jobs: distribution: zulu java-version: 8 - - name: Download artifacts + - name: Download Maestro artifact uses: actions/download-artifact@v4 with: name: maestro-cli-jdk11-run_id${{ github.run_id }} + - name: Download build/Products artifact + uses: actions/download-artifact@v4 + with: + name: build__Products-jdk11 + path: build/Products + - name: Add Maestro CLI executable to PATH run: | unzip maestro.zip -d maestro_extracted