From fa453d34b34a72e90073e142be3800c8b8626725 Mon Sep 17 00:00:00 2001 From: "Karl W. Schulz" Date: Thu, 21 Mar 2024 11:13:05 -0500 Subject: [PATCH] reorder job step - start with checkout Signed-off-by: Karl W. Schulz [ROCm/rocprofiler-compute commit: ad65ec14f89745e9506278123fd37418b78548af] --- .../rocprofiler-compute/.github/workflows/rhel-8.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/projects/rocprofiler-compute/.github/workflows/rhel-8.yml b/projects/rocprofiler-compute/.github/workflows/rhel-8.yml index 4ec000ef28..a408fde914 100644 --- a/projects/rocprofiler-compute/.github/workflows/rhel-8.yml +++ b/projects/rocprofiler-compute/.github/workflows/rhel-8.yml @@ -25,19 +25,18 @@ jobs: image: colramos/target-images:rhel8 # Steps represent a sequence of tasks that will be executed as part of the job steps: + - name: Checkout + uses: actions/checkout@v4 - name: Install baseline OS dependencies run: | + # https://github.com/actions/runner/issues/2033 + chown -R $(id -u):$(id -g) $PWD yum -y update yum -y install git yum -y install python39 yum -y install cmake3 yum -y install which - - name: Checkout - uses: actions/checkout@v4 - name: Install Python prereqs - run: | - # https://github.com/actions/runner/issues/2033 - chown -R $(id -u):$(id -g) $PWD python3.9 -m pip install -r requirements.txt python3.9 -m pip install pyinstaller pytest pytest-cov mock - name: Configure and install