microsoft/hve-core
Publicmirrored fromhttps://github.com/microsoft/hve-coreAvailable
scripts/tests/Fixtures/Workflows/shell-downloads.yml
14lines · modecode
| 1 | name: CI Shell Downloads |
| 2 | on: push |
| 3 | jobs: |
| 4 | build: |
| 5 | runs-on: ubuntu-latest |
| 6 | steps: |
| 7 | - name: Download without checksum |
| 8 | run: | |
| 9 | curl -sSL https://example.com/install.sh | bash |
| 10 | wget -O - https://example.com/script.sh | sh |
| 11 | - name: Download with checksum |
| 12 | run: | |
| 13 | curl -sSL https://example.com/tool.tar.gz -o tool.tar.gz |
| 14 | echo "abc123def456 tool.tar.gz" | sha256sum -c - |
| 15 | |