diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2f24887..34cb6a5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -33,13 +33,11 @@ jobs: curl -L https://huggingface.co/nomic-ai/nomic-embed-text-v1/resolve/main/onnx/model_quantized.onnx?download=true --output src/main/resources/embeddings/nomic/model.onnx - name: Build with Maven run: mvn -B package --file pom.xml - - name: 'Tar files' - run: tar -cvf target.tar target - name: Archive target folder uses: actions/upload-artifact@v4 with: name: target - path: target.tar + path: target include-hidden-files: true retention-days: 1 @@ -54,15 +52,12 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - name: Download node modules + - name: Download target folder uses: actions/download-artifact@v4 with: name: target - path: target.tar + path: target - - name: 'Untar files' - run: tar -xvf target.tar -C target - - name: Login to Docker Registry uses: docker/login-action@v1 with: diff --git a/.gitignore b/.gitignore index 2b4a863..0fc910f 100644 --- a/.gitignore +++ b/.gitignore @@ -47,4 +47,5 @@ nb-configuration.xml # Prevent Model Checkin *.onnx -local \ No newline at end of file +local +src/main/resources/application-local.properties \ No newline at end of file