Deleted wrong file

This commit is contained in:
Chaoscaot
2023-03-16 19:27:48 +01:00
parent 9d21c9afb7
commit 6ee68f1733
2 changed files with 29 additions and 22 deletions

29
.github/workflows/release-build.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: Release Build
on:
release:
types:
- published
env:
CARGO_TERM_COLOR: always
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

View File

@ -1,22 +0,0 @@
name: Build and Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose