diff --git a/.github/workflows/search-ci-cd.yml b/.github/workflows/search-ci-cd.yml index 82ed1dd8..12f7e201 100644 --- a/.github/workflows/search-ci-cd.yml +++ b/.github/workflows/search-ci-cd.yml @@ -31,7 +31,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: service-search.jar - path: search/target/*.jar + path: search/target/service-search.jar deploy: runs-on: ubuntu-latest @@ -46,11 +46,11 @@ jobs: uses: actions/download-artifact@v3 with: name: service-search.jar - path: ./ + path: c - name: Verify if the correct JAR file exists run: | - ls ./service-search-*.jar || (echo "JAR file not found!" && exit 1) + ls search/target/service-search.jar || (echo "JAR file not found!" && exit 1) - name: Add Server to Known Hosts run: |