Skip to content

Commit

Permalink
updating to use env
Browse files Browse the repository at this point in the history
  • Loading branch information
patel-bhavin committed Jul 31, 2024
1 parent 158d706 commit 9b96a14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
#is to first start up a Virtual Machine, then we can by following:
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontainer
runs-on: ubuntu-latest
env:
CONTENTCTL_VERSION: ${{ vars.CONTENTCTL_VERSION }} # Use the environment variable
steps:
- name: Check out the repository code
uses: actions/checkout@v4
Expand All @@ -23,7 +25,8 @@ jobs:

- name: Install Python Dependencies and ContentCTL and Atomic Red Team
run: |
pip install contentctl==4.2.2
echo "CONTENTCTL_VERSION is set to ${{ env.CONTENTCTL_VERSION }}"
pip install contentctl==${{ env.CONTENTCTL_VERSION }}
git clone --depth=1 --single-branch --branch=master https://github.com/redcanaryco/atomic-red-team.git
- name: Running build with enrichments
Expand Down

0 comments on commit 9b96a14

Please sign in to comment.