From dd30b57cb3afcd1be1a3a2db654c5914fadd5d61 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Thu, 16 Mar 2023 19:32:09 +0100 Subject: [PATCH] Fixing Workflows --- .github/workflows/master-build.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/master-build.yml b/.github/workflows/master-build.yml index add31a8..5b0f05c 100644 --- a/.github/workflows/master-build.yml +++ b/.github/workflows/master-build.yml @@ -11,25 +11,17 @@ env: jobs: build: + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Build - run: cargo build --verbose --release - - name: Create Tarball - run: tar -czvf schemsearch-cli.tar.gz -C target/release schemsearch-cli - - name: upload linux artifact - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ github.token }} - with: - upload_url: ${{ steps.published_release.outputs.upload_url }} - asset_path: schemsearch-cli.tar.gz - asset_name: schemsearch-cli-linux.tar.gz - asset_content_type: application/gzip - + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose build-realease: + runs-on: ubuntu-latest steps: