diff --git a/.github/workflows/pack_publish.yml b/.github/workflows/pack_publish.yml index 0d38fa4f..59b80b61 100644 --- a/.github/workflows/pack_publish.yml +++ b/.github/workflows/pack_publish.yml @@ -221,34 +221,13 @@ jobs: echo "app_commit=$commit" >> $GITHUB_OUTPUT update-manticoresearch-deps: - name: Updating deps of manticoresearch needs: - vars runs-on: ubuntu-22.04 steps: - - name: Checkout manticoresearch - uses: actions/checkout@v3 - with: - repository: "manticoresoftware/manticoresearch" - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Update deps.txt - id: deps - run: | - version=${{ needs.vars.outputs.app_version }} - date=${{ needs.vars.outputs.app_date }} - commit=${{ needs.vars.outputs.app_commit }} - - version_string="$version $date $commit" - echo "version_string=${version_string// /-}" >> $GITHUB_OUTPUT - sed -i '/^mcl\s/c\mcl '"$version_string" deps.txt - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 + - name: Update deps + uses: manticoresoftware/manticoresearch/actions/update-deps with: + name: columnar + version: "${{ needs.vars.outputs.app_version }} ${{ needs.vars.outputs.app_date }} ${{ needs.vars.outputs.app_commit }}" token: ${{ secrets.PR_TOKEN }} - commit-message: "Bump columnar version to: ${{ steps.deps.outputs.version_string }}" - title: "Update columnar version" - body: "Updating columnar version to ${{ steps.deps.outputs.version_string }}" - branch: "update-columnar-version" - draft: false