File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -102,14 +102,17 @@ jobs:
102
102
run : ${{ matrix.install-dist }}
103
103
- name : Setup FLOW_LIB_PATH
104
104
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"
105
107
- name : Run cargo-dist
106
108
# This logic is a bit janky because it's trying to be a polyglot between
107
109
# powershell and bash since this will run on windows, macos, and linux!
108
110
# The two platforms don't agree on how to talk about env vars but they
109
111
# do agree on 'cat' and '$()' so we use that to marshal values between commands.
110
112
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
113
116
# Actually do builds and make zips and whatnot
114
117
cargo dist --target=${{ matrix.target }} --output-format=json > dist-manifest.json
115
118
echo "dist ran successfully"
You can’t perform that action at this time.
0 commit comments