diff --git a/.github/workflows/as400.yml b/.github/workflows/as400.yml index 8f308d5422..3cfbd999db 100644 --- a/.github/workflows/as400.yml +++ b/.github/workflows/as400.yml @@ -64,7 +64,7 @@ jobs: -type f \ -exec grep -E '(@CONNECTOR_VERSION@)|(@CONNECTOR_HOME@)|(@CONNECTOR_ETC@)|(@CONNECTOR_LOG@)|(@CONNECTOR_USER@)|(@JAVA_BIN@)' {} ';' \ -exec sed -i \ - -e 's|@CONNECTOR_VERSION@|'"${{ steps.get-environment.outputs.version}}"'|g' \ + -e 's|@CONNECTOR_VERSION@|'"${{ needs.get-environment.outputs.version }}"'|g' \ -e 's|@CONNECTOR_HOME@|'"%{_datadir}/centreon-as400"'|g' \ -e 's|@CONNECTOR_ETC@|'"/etc/centreon-as400/"'|g' \ -e 's|@CONNECTOR_LOG@|'"/var/log/centreon-as400/"'|g' \