Skip to content

Commit 33e2bfd

Browse files
Try installing flowc first
1 parent 5009475 commit 33e2bfd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,14 @@ 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/release:$PATH" >> "$GITHUB_ENV"
107105
- name: Run cargo-dist
108106
# This logic is a bit janky because it's trying to be a polyglot between
109107
# powershell and bash since this will run on windows, macos, and linux!
110108
# The two platforms don't agree on how to talk about env vars but they
111109
# do agree on 'cat' and '$()' so we use that to marshal values between commands.
112110
run: |
113-
# see if we have a built copy of flowc around
114-
find . -type f -name flowc
111+
# make sure we flowc around to compile flowstdlib and flowsamples with
112+
cargo install flowc
115113
# Actually do builds and make zips and whatnot
116114
cargo dist --target=${{ matrix.target }} --output-format=json > dist-manifest.json
117115
echo "dist ran successfully"

0 commit comments

Comments
 (0)