fix completion/manpage generation
This commit is contained in:
@@ -46,14 +46,13 @@ jobs:
|
|||||||
run: grep --quiet "$(echo "${{ github.ref_name }}" | cut -c2-)" Cargo.toml
|
run: grep --quiet "$(echo "${{ github.ref_name }}" | cut -c2-)" Cargo.toml
|
||||||
- name: test
|
- name: test
|
||||||
run: cargo test --release
|
run: cargo test --release
|
||||||
- name: enable completion/manpage generation
|
- name: make completion/manpage folders
|
||||||
run: |
|
run: mkdir completions manpage
|
||||||
mkdir completions
|
|
||||||
export HEXAPODA_COMPLETIONS=completions/
|
|
||||||
mkdir manpage
|
|
||||||
export HEXAPODA_MANPAGE=manpage/
|
|
||||||
- name: build
|
- name: build
|
||||||
run: cargo build --release --locked
|
run: cargo build --release --locked
|
||||||
|
env:
|
||||||
|
HEXAPODA_COMPLETIONS: completions
|
||||||
|
HEXAPODA_MANPAGE: manpage
|
||||||
- name: package-tar-gz
|
- name: package-tar-gz
|
||||||
if: ${{ matrix.info.package-extension == 'tar.gz' }}
|
if: ${{ matrix.info.package-extension == 'tar.gz' }}
|
||||||
run: tar --create --gzip --file "hexapoda-${{ matrix.info.os }}-${{ github.ref_name }}.tar.gz" -C "target/release/" "hexapoda${{ matrix.info.executable-extension }}" -C "." "completions" "manpage"
|
run: tar --create --gzip --file "hexapoda-${{ matrix.info.os }}-${{ github.ref_name }}.tar.gz" -C "target/release/" "hexapoda${{ matrix.info.executable-extension }}" -C "." "completions" "manpage"
|
||||||
|
|||||||
Reference in New Issue
Block a user