mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-28 18:10:38 +00:00
* Repackage signal-client native builds * Change repo to upstream * Use `listAccounts` to test run signal-cli * Use "macOS" in filename
27 lines
683 B
YAML
27 lines
683 B
YAML
name: signal-cli CI
|
|
|
|
on: [ push, pull_request, workflow_call ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
java: [ '17' ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up JDK
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: ${{ matrix.java }}
|
|
- name: Build with Gradle
|
|
run: ./gradlew build
|
|
- name: Compress archive
|
|
run: gzip -n -9 build/distributions/signal-cli-*.tar
|
|
- name: Archive production artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: signal-cli-archive-${{ matrix.java }}
|
|
path: build/distributions/signal-cli-*.tar.gz
|