Skip to content

Commit

Permalink
Update custom-ox.sh
Browse files Browse the repository at this point in the history
making timing easier to read
  • Loading branch information
aaronhmiller authored Feb 1, 2024
1 parent 0515d84 commit 20dfd82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/custom-ox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
# Add sleep before the ox action
sleep 5

# start
echo `date`
start=`date +%s`

# Run the actual checkout action
sh -c "/usr/bin/docker run --name oxsecurityoxblockmodelatest_6ff9a5 --label f45b78 --workdir /github/workspace --rm \
Expand Down Expand Up @@ -75,5 +74,6 @@ sh -c "/usr/bin/docker run --name oxsecurityoxblockmodelatest_6ff9a5 --label f45
-v /home/runner/work/crud-app/crud-app:/github/workspace \
oxsecurity/ox-block-mode:latest"

# finish
echo `date`
finish=`date +%s`
elapsed=`expr $finish - $start`
echo $elapsed

0 comments on commit 20dfd82

Please sign in to comment.