mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 12:51:36 +00:00
[no ci] actions: Comment out WinAppDriver and Appium installation steps
Comment out steps related to WinAppDriver installation and Appium setup.
This commit is contained in:
44
.github/workflows/build.yml
vendored
44
.github/workflows/build.yml
vendored
@@ -667,28 +667,28 @@ jobs:
|
|||||||
echo "GAM Version ${GAMVERSION}"
|
echo "GAM Version ${GAMVERSION}"
|
||||||
echo "GAMVERSION=${GAMVERSION}" >> $GITHUB_ENV
|
echo "GAMVERSION=${GAMVERSION}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Install WinAppDriver
|
# - name: Install WinAppDriver
|
||||||
if: runner.os == 'Windows'
|
# if: runner.os == 'Windows'
|
||||||
run: |
|
# run: |
|
||||||
choco install -y winappdriver
|
# choco install -y winappdriver
|
||||||
|
|
||||||
- name: Enabled dev mode for WinAppDriver
|
# - name: Enabled dev mode for WinAppDriver
|
||||||
if: runner.os == 'Windows'
|
# if: runner.os == 'Windows'
|
||||||
shell: cmd
|
# shell: cmd
|
||||||
run : |
|
# run : |
|
||||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
|
# reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
|
||||||
|
|
||||||
- name: Install appium and totp tools
|
- name: Install totp tools
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: |
|
run: |
|
||||||
echo "Installing appium..."
|
#echo "Installing appium..."
|
||||||
npm install -g appium
|
#npm install -g appium
|
||||||
echo "Installing totp-generator..."
|
echo "Installing totp-generator..."
|
||||||
npm install "totp-generator"
|
npm install "totp-generator"
|
||||||
echo "Installing wdio..."
|
# echo "Installing wdio..."
|
||||||
npm install @wdio/cli
|
# npm install @wdio/cli
|
||||||
echo "Installing appium win driver..."
|
# echo "Installing appium win driver..."
|
||||||
appium driver install windows
|
# appium driver install windows
|
||||||
|
|
||||||
- name: Install Certum MSI
|
- name: Install Certum MSI
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
@@ -711,12 +711,12 @@ jobs:
|
|||||||
TOTP_SECRET: ${{ secrets.TOTP_SECRET }}
|
TOTP_SECRET: ${{ secrets.TOTP_SECRET }}
|
||||||
run: |
|
run: |
|
||||||
# disable win private firewall that interferes with appium server
|
# disable win private firewall that interferes with appium server
|
||||||
Set-NetFirewallProfile -Profile Private -Enabled False
|
#Set-NetFirewallProfile -Profile Private -Enabled False
|
||||||
$appiumCmd = Get-Command appium
|
#$appiumCmd = Get-Command appium
|
||||||
$appiumPath = $appiumCmd.Path
|
#$appiumPath = $appiumCmd.Path
|
||||||
Start-Process -Filepath "powershell.exe" -ArgumentList "-File", $appiumPath, "--address", "127.0.0.1", "--log-level", "error"
|
#Start-Process -Filepath "powershell.exe" -ArgumentList "-File", $appiumPath, "--address", "127.0.0.1", "--log-level", "error"
|
||||||
Start-Sleep -Seconds 10
|
#Start-Sleep -Seconds 10
|
||||||
write-host "appium started"
|
#write-host "appium started"
|
||||||
write-host "running SimplySignDesktop login..."
|
write-host "running SimplySignDesktop login..."
|
||||||
node tools/ssd.mjs --log-level warn
|
node tools/ssd.mjs --log-level warn
|
||||||
write-host "sleeping during login..."
|
write-host "sleeping during login..."
|
||||||
|
|||||||
Reference in New Issue
Block a user