Re-enable checkout reset on jobs

That was a bad idea (especially when you have multiple runners on the
same machine)
This commit is contained in:
Hansung Kim
2024-01-30 14:04:49 -08:00
parent f24e6f4812
commit 5235ae83bf

View File

@@ -195,16 +195,16 @@ jobs:
needs: prepare-chipyard-gpu needs: prepare-chipyard-gpu
runs-on: self-hosted runs-on: self-hosted
steps: steps:
# - name: Delete old checkout - name: Delete old checkout
# run: | run: |
# ls -alh . ls -alh .
# rm -rf ${{ github.workspace }}/* || true rm -rf ${{ github.workspace }}/* || true
# rm -rf ${{ github.workspace }}/.* || true rm -rf ${{ github.workspace }}/.* || true
# ls -alh . ls -alh .
# - name: Checkout - name: Checkout
# uses: actions/checkout@v3 uses: actions/checkout@v3
# - name: Git workaround - name: Git workaround
# uses: ./.github/actions/git-workaround uses: ./.github/actions/git-workaround
- name: Create conda env - name: Create conda env
uses: ./.github/actions/create-conda-env uses: ./.github/actions/create-conda-env
- name: Run tests - name: Run tests
@@ -218,16 +218,16 @@ jobs:
needs: prepare-chipyard-gpu needs: prepare-chipyard-gpu
runs-on: self-hosted runs-on: self-hosted
steps: steps:
# - name: Delete old checkout - name: Delete old checkout
# run: | run: |
# ls -alh . ls -alh .
# rm -rf ${{ github.workspace }}/* || true rm -rf ${{ github.workspace }}/* || true
# rm -rf ${{ github.workspace }}/.* || true rm -rf ${{ github.workspace }}/.* || true
# ls -alh . ls -alh .
# - name: Checkout - name: Checkout
# uses: actions/checkout@v3 uses: actions/checkout@v3
# - name: Git workaround - name: Git workaround
# uses: ./.github/actions/git-workaround uses: ./.github/actions/git-workaround
- name: Create conda env - name: Create conda env
uses: ./.github/actions/create-conda-env uses: ./.github/actions/create-conda-env
- name: Run tests - name: Run tests