这是indexloc提供的服务,不要输入任何密码
Skip to content
35 changes: 35 additions & 0 deletions .github/workflows/publish.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:

env:
XCODE_VERSION: 16.3
# Available destination for simulators depend on Xcode version.
DESTINATION_SIM: platform=iOS Simulator,name=iPhone 16 Plus
DESTINATION_SIM_TVOS: platform=tvOS Simulator,name=Apple TV 4K (3rd generation)

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -48,6 +51,38 @@ jobs:
DESTINATION: generic/platform=tvOS
WD: appium_wda_tvos/Build/Products/Debug-appletvos
ZIP_PKG_NAME: WebDriverAgentRunner_tvOS-Runner.zip
- name: Building iOS sim arm64
run: sh $GITHUB_WORKSPACE/Scripts/ci/build-sim.sh
env:
DERIVED_DATA_PATH: appium_wda_ios_sim_arm64
SCHEME: WebDriverAgentRunner
DESTINATION: ${{ env.DESTINATION_SIM }}
WD: appium_wda_ios_sim_arm64/Build/Products/Debug-iphonesimulator
ZIP_PKG_NAME: WebDriverAgentRunner-Build-Sim-arm64.zip
- name: Building iOS sim x86_64
run: sh $GITHUB_WORKSPACE/Scripts/ci/build-sim.sh
env:
DERIVED_DATA_PATH: appium_wda_ios_sim_x86_64
SCHEME: WebDriverAgentRunner
DESTINATION: ${{ env.DESTINATION_SIM }}
WD: appium_wda_ios_sim_x86_64/Build/Products/Debug-iphonesimulator
ZIP_PKG_NAME: WebDriverAgentRunner-Build-Sim-x86_64.zip
- name: Building tvOS sim arm64
run: sh $GITHUB_WORKSPACE/Scripts/ci/build-sim.sh
env:
DERIVED_DATA_PATH: appium_wda_tvos_sim_arm64
SCHEME: WebDriverAgentRunner_tvOS
DESTINATION: ${{ env.DESTINATION_SIM_TVOS }}
WD: appium_wda_tvos_sim_arm64/Build/Products/Debug-appletvsimulator
ZIP_PKG_NAME: WebDriverAgentRunner_tvOS-Build-Sim-arm64.zip
- name: Building tvOS sim x86_64
run: sh $GITHUB_WORKSPACE/Scripts/ci/build-sim.sh
env:
DERIVED_DATA_PATH: appium_wda_tvos_sim_x86_64
SCHEME: WebDriverAgentRunner_tvOS
DESTINATION: ${{ env.DESTINATION_SIM_TVOS }}
WD: appium_wda_tvos_sim_x86_64/Build/Products/Debug-appletvsimulator
ZIP_PKG_NAME: WebDriverAgentRunner_tvOS-Build-Sim-x86_64.zip

# release tasks
- run: npx semantic-release
Expand Down
6 changes: 5 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@
["@semantic-release/github", {
"assets": [
"WebDriverAgentRunner-Runner.zip",
"WebDriverAgentRunner_tvOS-Runner.zip"
"WebDriverAgentRunner_tvOS-Runner.zip",
"WebDriverAgentRunner-Build-Sim-arm64.zip",
"WebDriverAgentRunner-Build-Sim-x86_64.zip",
"WebDriverAgentRunner_tvOS-Build-Sim-arm64.zip",
"WebDriverAgentRunner_tvOS-Build-Sim-x86_64.zip"
]}]
]
}
Loading