test.yml 725 B

12345678910111213141516171819202122232425262728293031
  1. name: Build and Test
  2. on: push
  3. jobs:
  4. test-archive:
  5. runs-on: windows-latest
  6. steps:
  7. # Clone this repo
  8. - name: Checkout
  9. shell: bash
  10. run: |
  11. curl --location --user token:${{ github.token }} --output checkout.tar.gz https://api.github.com/repos/actions/checkout/tarball/${{ github.sha }}
  12. tar -xzf checkout.tar.gz
  13. mv */* ./
  14. # Basic checkout
  15. - shell: cmd
  16. run: |
  17. echo echo hello > git.cmd
  18. echo ::add-path::%CD%
  19. - name: Basic checkout
  20. uses: ./
  21. with:
  22. ref: test-data/v2/basic
  23. path: basic
  24. - name: Verify basic
  25. shell: bash
  26. run: __test__/verify-basic.sh container