action.yml 598 B

1234567891011121314151617181920
  1. name: build-folly
  2. runs:
  3. using: composite
  4. steps:
  5. - name: Fix repo ownership
  6. # Needed in some cases, as safe.directory setting doesn't take effect
  7. # under env -i
  8. run: chown `whoami` . || true
  9. shell: bash
  10. - name: Set upstream
  11. run: git remote add upstream https://github.com/facebook/rocksdb.git
  12. shell: bash
  13. - name: Fetch upstream
  14. run: git fetch upstream
  15. shell: bash
  16. - name: Git status
  17. # NOTE: some old branch builds under check_format_compatible.sh invoke
  18. # git under env -i
  19. run: git status && git remote -v && env -i git branch
  20. shell: bash