@@ -12,16 +12,16 @@ jobs:
1212 version_changed : ${{ steps.check_version.outputs.version_changed }}
1313 current_version : ${{ steps.get_version.outputs.current_version }}
1414 steps :
15- - uses : actions/checkout@v3
15+ - uses : actions/checkout@v4
1616 with :
1717 fetch-depth : 2
18-
18+
1919 - name : Get current version
2020 id : get_version
2121 run : |
2222 CURRENT_VERSION=$(grep "version = " pyproject.toml | cut -d'"' -f2)
2323 echo "current_version=$CURRENT_VERSION" >> $GITHUB_OUTPUT
24-
24+
2525 - name : Check if version changed
2626 id : check_version
2727 run : |
@@ -40,23 +40,23 @@ jobs:
4040 url : https://pypi.org/p/meilisearch-mcp
4141 permissions :
4242 id-token : write # IMPORTANT: mandatory for trusted publishing
43-
43+
4444 steps :
45- - uses : actions/checkout@v3
46-
45+ - uses : actions/checkout@v4
46+
4747 - name : Set up Python
48- uses : actions/setup-python@v4
48+ uses : actions/setup-python@v5
4949 with :
5050 python-version : " 3.10"
51-
51+
5252 - name : Install build dependencies
5353 run : |
5454 python -m pip install --upgrade pip
5555 pip install build
56-
56+
5757 - name : Build package
5858 run : python -m build
59-
59+
6060 - name : Publish to PyPI
6161 uses : pypa/gh-action-pypi-publish@release/v1
6262 with :
@@ -65,24 +65,24 @@ jobs:
6565
6666 build-and-publish-docker-latest :
6767 runs-on : ubuntu-latest
68-
68+
6969 steps :
70- - uses : actions/checkout@v3
71-
70+ - uses : actions/checkout@v4
71+
7272 - name : Set up QEMU
7373 uses : docker/setup-qemu-action@v3
74-
74+
7575 - name : Set up Docker Buildx
7676 uses : docker/setup-buildx-action@v3
77-
77+
7878 - name : Log in to Docker Hub
7979 uses : docker/login-action@v3
8080 with :
8181 username : ${{ secrets.DOCKERHUB_USERNAME }}
8282 password : ${{ secrets.DOCKERHUB_TOKEN }}
83-
83+
8484 - name : Build and push latest Docker image
85- uses : docker/build-push-action@v5
85+ uses : docker/build-push-action@v6
8686 with :
8787 context : .
8888 platforms : linux/amd64,linux/arm64
@@ -95,28 +95,28 @@ jobs:
9595 needs : check-version
9696 if : needs.check-version.outputs.version_changed == 'true'
9797 runs-on : ubuntu-latest
98-
98+
9999 steps :
100- - uses : actions/checkout@v3
101-
100+ - uses : actions/checkout@v4
101+
102102 - name : Set up QEMU
103103 uses : docker/setup-qemu-action@v3
104-
104+
105105 - name : Set up Docker Buildx
106106 uses : docker/setup-buildx-action@v3
107-
107+
108108 - name : Log in to Docker Hub
109109 uses : docker/login-action@v3
110110 with :
111111 username : ${{ secrets.DOCKERHUB_USERNAME }}
112112 password : ${{ secrets.DOCKERHUB_TOKEN }}
113-
113+
114114 - name : Build and push versioned Docker image
115- uses : docker/build-push-action@v5
115+ uses : docker/build-push-action@v6
116116 with :
117117 context : .
118118 platforms : linux/amd64,linux/arm64
119119 push : true
120120 tags : getmeili/meilisearch-mcp:${{ needs.check-version.outputs.current_version }}
121121 cache-from : type=gha
122- cache-to : type=gha,mode=max
122+ cache-to : type=gha,mode=max
0 commit comments