Skip to content

Commit 4a8a418

Browse files
author
Aishwarya Jagarapu
committed
fix tutorials.yml
1 parent 37cbc3e commit 4a8a418

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/tutorials.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
java-version: 11
2121
- name: Install P as a tool
22-
run: dotnet tool install --global p
22+
run: ./Bld/build.sh
2323
- name: Compile Tutorials
2424
run: ./Src/Scripts/TutorialsChecker/compile.sh ./Tutorial
2525
- name: Check Tutorials

Src/Scripts/TutorialsChecker/check.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ for folder in $folders; do
2222
echo "------------------------------------------------------"
2323

2424
checkLog="check.log"
25-
p check -i ${SCHEDULES} 2>&1 | tee ${checkLog}
25+
alias pl='dotnet /Bld/Drops/Release/Binaries/net8.0/p.dll'
26+
pl check -i ${SCHEDULES} 2>&1 | tee ${checkLog}
2627
if grep -q "Possible options are:" ${checkLog}; then
2728
beginFlag=false
2829
while IFS=" " read firstWord _; do

Src/Scripts/TutorialsChecker/compile.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ for folder in $folders; do
1818
echo "------------------------------------------------------"
1919
echo "Compiling $folder!"
2020
echo "------------------------------------------------------"
21-
22-
p compile
21+
alias pl='dotnet /Bld/Drops/Release/Binaries/net8.0/p.dll'
22+
pl compile
2323

2424
# Check and print any errors
2525
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)