Skip to content

Commit

Permalink
chore: Fix NuGet release downloads workflow (#3975)
Browse files Browse the repository at this point in the history
Broken by #3707, unfortunately we don't have a mechanism to re-run these
workflows when they change.
  • Loading branch information
robin-aws committed May 10, 2023
1 parent de87ccf commit 4053f90
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release-downloads-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,18 @@ jobs:
run: version="${{ steps.dafny.outputs.release }}"; dafny -version | grep -iE "Dafny "${version:1}".[0-9]{5}"
shell: bash
## Check that a simple program compiles and runs on each supported platform
## Now that the dotnet tool distribution doesn't include the Scripts,
## so we need to clone the repository to get them.
- name: Checkout Dafny
uses: actions/checkout@v3
with:
submodules: recursive
path: dafny-repo
- name: run quicktests
run: |
npm install bignumber.js
dafny/quicktest.sh > log.txt
diff log.txt dafny/quicktest.out
dafny-repo/Scripts/quicktest.sh dafny > log.txt
diff log.txt dafny-repo/Scripts/quicktest.out
test-dafny-libraries:

Expand Down
1 change: 0 additions & 1 deletion Scripts/quicktest.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Using: ../../Scripts/dafny
Should succeed

Dafny program verifier finished with 1 verified, 0 errors
Expand Down
1 change: 0 additions & 1 deletion Scripts/quicktest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ if [ -n "$1" ]; then
else
DAFNY=$DIR/dafny
fi
echo "Using:" $DAFNY

echo Should succeed
$DAFNY verify a.dfy
Expand Down

0 comments on commit 4053f90

Please sign in to comment.