Mirror von
https://github.com/Chaoscaot/schemsearch
synchronisiert 2024-11-20 02:40:08 +01:00
Merge Workflows
Dieser Commit ist enthalten in:
Ursprung
be13e28fae
Commit
706ccd005b
21
.github/workflows/master-build.yml
vendored
21
.github/workflows/master-build.yml
vendored
@ -3,13 +3,14 @@ name: Master Build
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "master" ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-realease:
|
build-realease:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -21,3 +22,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: schemsearch-cli
|
name: schemsearch-cli
|
||||||
path: target/release/schemsearch-cli
|
path: target/release/schemsearch-cli
|
||||||
|
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
|
||||||
|
29
.github/workflows/release-build.yml
vendored
29
.github/workflows/release-build.yml
vendored
@ -1,29 +0,0 @@
|
|||||||
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
|
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren