AWS-CLI 2.17.44 #1990
Workflow file for this run
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
name: Dash User Contributions | |
on: [pull_request_target] | |
jobs: | |
test: | |
runs-on: 'macos-latest' | |
strategy: | |
matrix: | |
os: | |
- ubuntu-18.04 | |
steps: | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{github.event.pull_request.head.ref}} | |
repository: ${{github.event.pull_request.head.repo.full_name}} | |
- name: Docset verify | |
id: docset_verify | |
run: | | |
wget https://kapeli.com/feeds/zzz/docsetcontrib.tgz; tar -xzf docsetcontrib.tgz; | |
./docsetcontrib --verify | tee output.txt; | |
passOrFail=$([ ${PIPESTATUS[0]} == 0 ] && echo "**PASS** 🟢" || echo "**FAIL** 🔴"); | |
result="$(cat output.txt)"; | |
result="${result//'%'/%25}"; | |
result="${result//$'\n'/%0A}"; | |
result="${result//$'\r'/%0D}"; | |
echo "::set-output name=result_code::$result"; | |
echo "::set-output name=passOrFail_code::$passOrFail"; | |
- name: Auto Comment | |
uses: wow-actions/auto-comment@v1 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
pullRequestOpened: > | |
Test result: ${{ steps.docset_verify.outputs.passOrFail_code }} | |
``` | |
${{ steps.docset_verify.outputs.result_code }} | |
``` | |
pullRequestSynchronize: > | |
Test result: ${{ steps.docset_verify.outputs.passOrFail_code }} | |
``` | |
${{ steps.docset_verify.outputs.result_code }} | |
``` |