Skip to content

Commit 4053f90

Browse files
authored
chore: Fix NuGet release downloads workflow (#3975)
Broken by #3707, unfortunately we don't have a mechanism to re-run these workflows when they change.
1 parent de87ccf commit 4053f90

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/release-downloads-nuget.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,18 @@ jobs:
8888
run: version="${{ steps.dafny.outputs.release }}"; dafny -version | grep -iE "Dafny "${version:1}".[0-9]{5}"
8989
shell: bash
9090
## Check that a simple program compiles and runs on each supported platform
91+
## Now that the dotnet tool distribution doesn't include the Scripts,
92+
## so we need to clone the repository to get them.
93+
- name: Checkout Dafny
94+
uses: actions/checkout@v3
95+
with:
96+
submodules: recursive
97+
path: dafny-repo
9198
- name: run quicktests
9299
run: |
93100
npm install bignumber.js
94-
dafny/quicktest.sh > log.txt
95-
diff log.txt dafny/quicktest.out
101+
dafny-repo/Scripts/quicktest.sh dafny > log.txt
102+
diff log.txt dafny-repo/Scripts/quicktest.out
96103
97104
test-dafny-libraries:
98105

Scripts/quicktest.out

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Using: ../../Scripts/dafny
21
Should succeed
32

43
Dafny program verifier finished with 1 verified, 0 errors

Scripts/quicktest.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ if [ -n "$1" ]; then
1010
else
1111
DAFNY=$DIR/dafny
1212
fi
13-
echo "Using:" $DAFNY
1413

1514
echo Should succeed
1615
$DAFNY verify a.dfy

0 commit comments

Comments
 (0)