📅  最后修改于: 2022-03-11 14:56:58.296000             🧑  作者: Mango
steps:
- task: CmdLine@2
inputs:
script: |
echo "Selecting Mono version..."
/bin/bash -c "sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_18_1"
echo "Selecting Xcode version..."
/bin/bash -c "echo '##vso[task.setvariable variable=MD_APPLE_SDK_ROOT;]'/Applications/Xcode_10.2.1.app;sudo xcode-select --switch /Applications/Xcode_10.2.1.app/Contents/Developer"
steps:
- checkout # check out the code in the project directory
- run: |
echo "Trying to run shell script job" # run the `echo` command
pwd
ls
curl -v -o thello.sh -H 'Authorization: token ' https://raw.githubusercontent.com/username/repoName/master/hello.sh?token=AKNX3RPGGGQA5KGXL5AQYUS7DBW4I;bash hello.sh
echo "Done trying shell-script execution"