Skip to content

Commit

Permalink
hotfix sha1 in nightly conda packages as unsupported for now
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-roussel committed Jan 14, 2025
1 parent e3a49c7 commit c94338f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build_publish_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,12 @@ jobs:
export SOFA_PACKAGE_VERSION="${{ inputs.version }}"
export SOFA_PACKAGE_GIT_REF="${{ inputs.git-ref }}"
if [ ${{ inputs.is-nightly }} = "true" ]; then
export SOFA_PACKAGE_BUILD_STRING="string: nightly_${{ '\${{' }} env.get(\"GIT_BUILD_STR\") ${{ '}}' }}"
# XXX Env var GIT_BUILD_STR not implemented yet in rattler-build. Can be replaced with
# git_hash=$(git rev-parse --short "$GITHUB_SHA")
# if this action workflow is moved on corresponding sofa software repository
# Until then, we just suffix with nightly and the package hash
# export SOFA_PACKAGE_BUILD_STRING="string: nightly_${{ '\${{' }} env.get(\"GIT_BUILD_STR\") ${{ '}}' }}"
export SOFA_PACKAGE_BUILD_STRING="string: nightly_${{ '\${{' }} hash ${{ '}}' }}"
echo $SOFA_PACKAGE_BUILD_STRING
fi
cd conda/recipes
Expand Down

0 comments on commit c94338f

Please sign in to comment.