update checkout action and use concurrency instead of cancel-workflow-action

Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: 1ae67a179d]
This commit is contained in:
Karl W. Schulz
2024-03-21 10:52:43 -05:00
parent a9705599aa
commit 626f303a2d
+5 -4
View File
@@ -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