From abf695317217e953bf98520bfd60aa105fcf9501 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Thu, 16 Mar 2023 20:40:17 +0100 Subject: [PATCH] Optimize Workflows --- .github/workflows/master-build.yml | 4 ++-- .github/workflows/release-build.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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