From 29766e76f8b4aaa506380705fbf5967fa1365d40 Mon Sep 17 00:00:00 2001 From: Thien Nguyen <58006629+1tnguyen@users.noreply.github.com> Date: Tue, 27 Jun 2023 02:37:50 +0000 Subject: [PATCH] Move git checkout after deps install --- .github/workflows/ci-linux.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index db264b61a..1c1d2e12b 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -94,16 +94,16 @@ jobs: image: ${{matrix.image}} steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - name: Install dependencies run: | dnf -y update && dnf install -y yum-utils && dnf config-manager --set-enabled crb && dnf install -y epel-release yum groupinstall -y 'Development Tools' yum install -y libcurl-devel.x86_64 openssl-devel.x86_64 cmake.x86_64 python3-devel.x86_64 lapack-devel.x86_64 libunwind-devel.x86_64 ninja-build.x86_64 + - uses: actions/checkout@v3 + with: + submodules: recursive + # Declares the repository safe and not under dubious ownership. - name: Add repository to git safe directories run: git config --global --add safe.directory $GITHUB_WORKSPACE