diff --git a/.github/workflows/master-build.yml b/.github/workflows/master-build.yml index 5b0f05c..1a6c652 100644 --- a/.github/workflows/master-build.yml +++ b/.github/workflows/master-build.yml @@ -19,7 +19,7 @@ jobs: - name: Build run: cargo build --verbose - name: Run tests - run: cargo test --verbose + run: cargo test --verbose -p schemsearch-lib build-realease: runs-on: ubuntu-latest @@ -27,7 +27,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build - run: cargo build --verbose --release + run: cargo build --verbose --release -p schemsearch-cli - name: Upload a Build Artifact uses: actions/upload-artifact@v3.1.2 with: diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index b34d7ba..5aed70d 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build - run: cargo build --verbose --release + run: cargo build --verbose --release -p schemsearch-cli - name: Create Tarball if: ${{ matrix.os != 'windows-latest' }} run: tar -czvf schemsearch-cli-${{ matrix.os }}.tar.gz -C target/release schemsearch-cli