Skip to content

Commit b6e1e4e

Browse files
committed
fix: Build Dafny before building the refman
1 parent 8914f38 commit b6e1e4e

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/publish-release.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ env:
1010
dotnet-version: 6.0.x # SDK Version for building Dafny
1111

1212
jobs:
13-
check-deep-tests:
14-
uses: ./.github/workflows/check-deep-tests-reusable.yml
15-
with:
16-
sha: ${{ github.sha }}
13+
# check-deep-tests:
14+
# uses: ./.github/workflows/check-deep-tests-reusable.yml
15+
# with:
16+
# sha: ${{ github.sha }}
1717

1818
publish-release:
1919
runs-on: macos-latest
@@ -55,11 +55,16 @@ jobs:
5555
which latex || echo NOT FOUND latex
5656
which xelatex || echo NOT FOUND xelatex
5757
sudo gem install rouge
58+
# First we build the ZIPs (which do not include the refman)
5859
- name: Package release files
5960
run: |
6061
python dafny/Scripts/package.py ${{ steps.get-version.outputs.version-without-v }} --skip_manual=true --github_secret=${{ secrets.GITHUB_TOKEN }}
61-
# We build the reference manual separately because that depends on evaluating the path_helper script,
62-
# but that perturbs the path enough that `python` above would resolve to an older built-in Python version.
62+
# Then we build the reference manual separately, because that depends on evaluating the path_helper script,
63+
# and that perturbs the path enough that `python` above would resolve to an older built-in Python version.
64+
# Additionally, since the refman build scripts expect to find Dafny in its usual Binaries/ folder (not in
65+
# a platform-specific directory), we build Dafny once here.
66+
- name: Build Dafny
67+
run: dotnet build dafny/Source/Dafny.sln
6368
- name: Build reference manual
6469
run: |
6570
eval "$(/usr/libexec/path_helper)"

0 commit comments

Comments
 (0)