Skip to content

Commit 1391dce

Browse files
build debug versions of flowc and flowstdlib for use in building flowstdlib and flowsamples
1 parent 33e2bfd commit 1391dce

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,17 @@ jobs:
102102
run: ${{ matrix.install-dist }}
103103
- name: Setup FLOW_LIB_PATH
104104
run: echo "FLOW_LIB_PATH=$GITHUB_WORKSPACE/target" >> "$GITHUB_ENV"
105+
- name: Ensure flowc in PATH
106+
run: echo "PATH=$GITHUB_WORKSPACE/target/debug:$PATH" >> "$GITHUB_ENV"
105107
- name: Run cargo-dist
106108
# This logic is a bit janky because it's trying to be a polyglot between
107109
# powershell and bash since this will run on windows, macos, and linux!
108110
# The two platforms don't agree on how to talk about env vars but they
109111
# do agree on 'cat' and '$()' so we use that to marshal values between commands.
110112
run: |
111-
# make sure we flowc around to compile flowstdlib and flowsamples with
112-
cargo install flowc
113+
# build debug versions of flowc and flowstdlib for use in building flowstdlib and flowsamples
114+
cargo build -p flowc
115+
cargo build -p flowstdlib
113116
# Actually do builds and make zips and whatnot
114117
cargo dist --target=${{ matrix.target }} --output-format=json > dist-manifest.json
115118
echo "dist ran successfully"

0 commit comments

Comments
 (0)