diff --git a/.github/workflows/ios-ci.yml b/.github/workflows/ios-ci.yml index cdc440020..d21e32ff1 100644 --- a/.github/workflows/ios-ci.yml +++ b/.github/workflows/ios-ci.yml @@ -162,6 +162,13 @@ jobs: path: | ./size ./pr_number + + - name: Upload PR number + uses: actions/upload-artifact@v3 + with: + name: pr-number + path: | + ./pr_number # render test @@ -187,4 +194,4 @@ jobs: retention-days: 3 path: | ${{ env.render_test_artifacts_dir }}/RenderTest.xctest.zip - ${{ env.render_test_artifacts_dir }}/RenderTestApp.ipa \ No newline at end of file + ${{ env.render_test_artifacts_dir }}/RenderTestApp.ipa diff --git a/.github/workflows/ios-render-test.yml b/.github/workflows/ios-render-test.yml new file mode 100644 index 000000000..cc10ad4c9 --- /dev/null +++ b/.github/workflows/ios-render-test.yml @@ -0,0 +1,23 @@ +name: ios-render-test + +on: + workflow_run: + workflows: [ios-ci] + types: + - completed + +jobs: + ios-render-test: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + + - uses: .github/actions/download-workflow-run-artifact + with: + artifact-name: ios-render-test + expect-files: "RenderTest.xctest.zip, RenderTestApp.ipa" + + - uses: .github/actions/download-workflow-run-artifact + with: + artifact-name: pr-number + expect-files: "pr_number" \ No newline at end of file