Update workflow actions

This commit is contained in:
AsamK 2022-10-18 18:11:17 +02:00
parent 0aee7ff552
commit 9da42e27f1
3 changed files with 14 additions and 11 deletions

View file

@ -11,17 +11,18 @@ jobs:
java: [ '17', '18' ]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: 'adopt'
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
uses: actions/upload-artifact@v3
with:
name: signal-cli-archive-${{ matrix.java }}
path: build/distributions/signal-cli-*.tar.gz