mirror of
https://github.com/TeFiLeDo/tree-owners.git
synced 2024-11-24 21:26:17 +01:00
adapt release to completion generation
This commit is contained in:
parent
3e5104abe1
commit
cccc8de834
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -23,6 +23,8 @@ jobs:
|
|||||||
run: cargo build --release --verbose
|
run: cargo build --release --verbose
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --release --verbose
|
run: cargo test --release --verbose
|
||||||
|
- name: Adjust compiler output
|
||||||
|
run: mv ci-out/_tree-owners ci-out/tree-owners.zsh
|
||||||
- name: Publish to crates.io
|
- name: Publish to crates.io
|
||||||
run: cargo publish
|
run: cargo publish
|
||||||
env:
|
env:
|
||||||
@ -35,3 +37,6 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
LICENSE
|
LICENSE
|
||||||
target/release/tree-owners
|
target/release/tree-owners
|
||||||
|
../ci-out/tree-owners.bash
|
||||||
|
../ci-out/tree-owners.fish
|
||||||
|
../ci-out/tree-owners.zsh
|
||||||
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -30,6 +30,6 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
LICENSE
|
LICENSE
|
||||||
target/debug/tree-owners
|
target/debug/tree-owners
|
||||||
ci-out/tree-owners.bash
|
../ci-out/tree-owners.bash
|
||||||
ci-out/tree-owners.fish
|
../ci-out/tree-owners.fish
|
||||||
ci-out/tree-owners.zsh
|
../ci-out/tree-owners.zsh
|
||||||
|
4
build.rs
4
build.rs
@ -11,8 +11,8 @@ include!("src/cli.rs");
|
|||||||
|
|
||||||
fn main() -> Result<()> {
|
fn main() -> Result<()> {
|
||||||
let out = if env::var("CI").map(|ci| ci == "true").unwrap_or_default() {
|
let out = if env::var("CI").map(|ci| ci == "true").unwrap_or_default() {
|
||||||
create_dir("ci-out").context("failed to create CI output directory")?;
|
create_dir("../ci-out").context("failed to create CI output directory")?;
|
||||||
"./ci-out".to_string()
|
"../ci-out".to_string()
|
||||||
} else {
|
} else {
|
||||||
env::var("OUT_DIR").context("OUT_DIR not set")?
|
env::var("OUT_DIR").context("OUT_DIR not set")?
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user