diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bfc18b85c5..a5661a7129 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -28,6 +28,8 @@ jobs: - name: Checkout commit that triggered run working-directory: /home/calyx run: | + git init + git remote add origin git@github.com:cucapra/calyx.git git fetch --all git checkout $GITHUB_SHA @@ -78,6 +80,8 @@ jobs: - name: Checkout commit that triggered run working-directory: /home/calyx run: | + git init + git remote add origin git@github.com:cucapra/calyx.git git fetch --all git checkout $GITHUB_SHA @@ -136,6 +140,8 @@ jobs: - name: Checkout commit that triggered run working-directory: /home/calyx run: | + git init + git remote add origin git@github.com:cucapra/calyx.git git fetch --all git checkout $GITHUB_SHA