mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
parent
2d1ba6b4ca
commit
148bf7dee2
1 changed files with 11 additions and 0 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -29,8 +29,19 @@ jobs:
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
dependency-graph: generate-and-submit
|
dependency-graph: generate-and-submit
|
||||||
|
- name: Install asciidoc
|
||||||
|
run: sudo apt --no-install-recommends install -y asciidoc-base
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew --no-daemon build
|
run: ./gradlew --no-daemon build
|
||||||
|
- name: Build man page
|
||||||
|
run: |
|
||||||
|
cd man
|
||||||
|
make install
|
||||||
|
- name: Add man page to archive
|
||||||
|
run: |
|
||||||
|
version=$(tar tf build/distributions/signal-cli-*.tar | head -n1 | sed 's|signal-cli-\([^/]*\)/.*|\1|')
|
||||||
|
echo $version
|
||||||
|
tar --transform="flags=r;s|man|signal-cli-${version}/man|" -rf build/distributions/signal-cli-${version}.tar man/man{1,5}
|
||||||
- name: Compress archive
|
- name: Compress archive
|
||||||
run: gzip -n -9 build/distributions/signal-cli-*.tar
|
run: gzip -n -9 build/distributions/signal-cli-*.tar
|
||||||
- name: Archive production artifacts
|
- name: Archive production artifacts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue