Skip to content

Commit

Permalink
fix build/Products missing from test-ios-xctest-runner job
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Sep 11, 2024
1 parent 854ae69 commit 568f4ad
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/test-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 568f4ad

Please sign in to comment.