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 @@ -22,18 +22,21 @@ jobs:
2222 case "$PREFIX" in
2323 "sdf")
2424 CRATE_NAME="sdf_glyph_renderer"
25+ FLAGS="--features freetype"
2526 ;;
2627 "tools")
2728 CRATE_NAME="pbf_font_tools"
29+ FLAGS="--features freetype"
2830 ;;
2931 "cli")
3032 CRATE_NAME="build_pbf_glyphs"
33+ FLAGS=""
3134 ;;
3235 *)
3336 echo "Invalid prefix in tag: $PREFIX"
3437 exit 1
3538 esac
36- cargo publish --features freetype -p $CRATE_NAME
39+ cargo publish $FLAGS -p $CRATE_NAME
3740 env :
3841 CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
3942
6164 uses : actions-rs/cargo@v1
6265 with :
6366 command : build
64- args : --all-features -- release
67+ args : --release
6568 - name : Push Artifacts
6669 run : |
6770 mv target/release/build_pbf_glyphs target/release/build_pbf_glyphs.${{ matrix.target }}
You can’t perform that action at this time.
0 commit comments