1
0
Mirror von https://github.com/Chaoscaot/schemsearch synchronisiert 2024-11-19 10:20:08 +01:00
Dieser Commit ist enthalten in:
Chaoscaot 2023-03-18 10:27:34 +01:00
Ursprung b082d6cd8d
Commit 322ba65656
2 geänderte Dateien mit 31 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -16,16 +16,35 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Cache Cargo modules
id: cache-cargo
uses: actions/cache@v3
env:
cache-name: cache-cargo-target-debug
with:
path: target
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
- name: Build - name: Build
run: cargo build --verbose run: cargo build --verbose
- name: Run tests - name: Run tests
run: cargo test --verbose -p schemsearch-lib run: cargo test --verbose -p schemsearch-lib
build-release: build-release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Cache Cargo modules
id: cache-cargo
uses: actions/cache@v3
env:
cache-name: cache-cargo-target-release
with:
path: target
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
- name: Build - name: Build
run: cargo build --verbose --release -p schemsearch-cli run: cargo build --verbose --release -p schemsearch-cli
- name: Upload a Build Artifact - name: Upload a Build Artifact

Datei anzeigen

@ -19,6 +19,16 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Cache Cargo modules
id: cache-cargo
uses: actions/cache@v3
env:
cache-name: cache-cargo-target-release
with:
path: target
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
- name: Build - name: Build
run: cargo build --verbose --release -p schemsearch-cli run: cargo build --verbose --release -p schemsearch-cli
- name: Create Tarball - name: Create Tarball