From 626f303a2dc1020c8dfee06530ac5f1cce45cdd3 Mon Sep 17 00:00:00 2001 From: "Karl W. Schulz" Date: Thu, 21 Mar 2024 10:52:43 -0500 Subject: [PATCH] update checkout action and use concurrency instead of cancel-workflow-action Signed-off-by: Karl W. Schulz [ROCm/rocprofiler-compute commit: 1ae67a179d2f0d7fc8d2b677370c43020b931c47] --- .../rocprofiler-compute/.github/workflows/rhel-8.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/projects/rocprofiler-compute/.github/workflows/rhel-8.yml b/projects/rocprofiler-compute/.github/workflows/rhel-8.yml index c2d7a4c1ea..868e0851ca 100644 --- a/projects/rocprofiler-compute/.github/workflows/rhel-8.yml +++ b/projects/rocprofiler-compute/.github/workflows/rhel-8.yml @@ -12,6 +12,10 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: build: @@ -21,9 +25,6 @@ jobs: image: colramos/target-images:rhel8 # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Cancel any previous runs - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.11.0 - name: Install baseline OS dependencies run: | yum -y update @@ -32,7 +33,7 @@ jobs: yum -y install cmake3 yum -y install which - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Python prereqs run: | python3.9 -m pip install -r requirements.txt