Skip to content

Commit d14bd9c

Browse files
use only sofa locally built packages for devel
1 parent de8f1ef commit d14bd9c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build_publish_package.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,13 @@ jobs:
146146
exit 1
147147
fi
148148
echo "Config file used for building package: $CONFIG_FILE"
149-
rattler-build build --recipe ${{ inputs.package-name }}/recipe/recipe.yaml --variant-config $CONFIG_FILE --output-dir ${{ env.PKG_DIR }} --experimental -c conda-forge -c https://prefix.dev/${{ inputs.channel }} --channel-priority disabled
149+
150+
# For devel packages, we don't want to get packages from sofa-framework-devel channel, only locally (there is a bug after deleting old packages)
151+
if [[ ${{ inputs.recipe-dir }} == "devel" ]]; then
152+
rattler-build build --recipe ${{ inputs.package-name }}/recipe/recipe.yaml --variant-config $CONFIG_FILE --output-dir ${{ env.PKG_DIR }} -c conda-forge
153+
else
154+
rattler-build build --recipe ${{ inputs.package-name }}/recipe/recipe.yaml --variant-config $CONFIG_FILE --output-dir ${{ env.PKG_DIR }} -c conda-forge -c https://prefix.dev/${{ inputs.channel }} --channel-priority disabled
155+
fi
150156
151157
# Remove already existing package if any
152158
# For release packages, we just remove if package with exact name already exists, and we keep previous builds

0 commit comments

Comments
 (0)