Skip to content

Commit

Permalink
Fix GitHub build? (#2807)
Browse files Browse the repository at this point in the history
* debu

* Change error

* test

---------

Co-authored-by: Jeroen Beckers <[email protected]>
  • Loading branch information
TheDauntless and Jeroen Beckers authored Jul 13, 2024
1 parent 6af55ca commit ec2d0aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docgenerator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ jobs:
repository: "OWASP/owasp-masvs.git"
ref: ${{env.MASVS_VERSION}}
fetch-depth: 1
path: src/scripts/owasp-masvs
path: owasp-masvs

- name: Get MASVS Current Commit ID
run: cd src/scripts/owasp-masvs && echo "MASVS_COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
run: cd owasp-masvs && echo "MASVS_COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Confirm MASTG Current Commit ID
run: echo ${{env.MASVS_COMMIT}}

Expand Down
4 changes: 2 additions & 2 deletions src/scripts/structure_masvs.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

echo "$PWD"
if [ ! -d "../owasp-masvs/" ] ; then
echo "Error: Clone owasp-masvs to same directory as owasp-mastg"
echo "Error: Please clone owasp-masvs to same directory as owasp-mastg"
exit
fi

Expand Down

0 comments on commit ec2d0aa

Please sign in to comment.