forked from facebookarchive/WebDriverAgent
-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: tune release * tune name * adjust syntax
- Loading branch information
Showing
3 changed files
with
29 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,8 @@ name: Building WebDriverAgent | |
|
||
on: | ||
workflow_dispatch: | ||
workflow_run: | ||
workflows: ["Release"] | ||
types: | ||
- completed | ||
release: | ||
types: [published] | ||
|
||
env: | ||
HOST: macos-13 | ||
|
@@ -56,14 +54,25 @@ jobs: | |
WD: appium_wda_tvos/Build/Products/Debug-appletvos | ||
ZIP_PKG_NAME: "${{ env.ZIP_PKG_NAME_TVOS }}" | ||
|
||
- name: Upload the built generic app package for iOS | ||
uses: actions/[email protected] | ||
- name: upload WebDriverAgentRunner-Runner.zip | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.token }} | ||
with: | ||
path: "${{ env.ZIP_PKG_NAME_IOS }}" | ||
- name: Upload the built generic app package for tvOS | ||
uses: actions/[email protected] | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: "${{ env.ZIP_PKG_NAME_IOS }}" | ||
asset_name: WebDriverAgentRunner-Runner.zip | ||
asset_content_type: application/zip | ||
|
||
- name: upload WebDriverAgentRunner_tvOS-Runner.zip | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.token }} | ||
with: | ||
path: "${{ env.ZIP_PKG_NAME_TVOS }}" | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ${{ env.ZIP_PKG_NAME_TVOS }}" | ||
asset_name: WebDriverAgentRunner_tvOS-Runner.zip | ||
asset_content_type: application/zip | ||
|
||
for_simulator_devices: | ||
needs: [host_machine] | ||
|
@@ -89,7 +98,12 @@ jobs: | |
SCHEME: WebDriverAgentRunner${{ matrix.target }} | ||
ARCHS: ${{ matrix.arch }} | ||
ZIP_PKG_NAME: "WebDriverAgentRunner${{ matrix.target }}-Build-Sim-${{ matrix.arch }}.zip" | ||
- name: Upload the built generic app package for WebDriverAgentRunner${{ matrix.target }} with ${{ matrix.arch }} | ||
uses: actions/[email protected] | ||
- name: upload windows WebDriverAgentRunner${{ matrix.target }}-Build-Sim-${{ matrix.arch }}.zip | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.token }} | ||
with: | ||
path: "WebDriverAgentRunner${{ matrix.target }}-Build-Sim-${{ matrix.arch }}.zip" | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: "WebDriverAgentRunner${{ matrix.target }}-Build-Sim-${{ matrix.arch }}.zip" | ||
asset_name: "WebDriverAgentRunner${{ matrix.target }}-Build-Sim-${{ matrix.arch }}.zip" | ||
asset_content_type: application/zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters