Reformat code

This commit is contained in:
AsamK 2021-06-12 08:53:37 +02:00
parent 795b73df87
commit d1e760f447
6 changed files with 130 additions and 140 deletions

View file

@ -1,6 +1,6 @@
name: signal-cli CI
on: [push, pull_request]
on: [ push, pull_request ]
jobs:
build:
@ -11,17 +11,17 @@ jobs:
java: [ '11', '16' ]
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
- 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