From 619d4abf18d21b8b8f0b0198f088466ec6ae746d Mon Sep 17 00:00:00 2001 From: Nathaniel Navarro Date: Sun, 3 Sep 2023 21:33:38 -0400 Subject: [PATCH] Make github action init git in clayx repo Calyx Docker container 0.6.0 does not have git initialized in /home/calyx --- .github/workflows/rust.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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