mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-09 16:45:46 -07:00
Upload build artifact as single zip
This commit is contained in:
parent
784987038c
commit
6fc7249cc3
1 changed files with 8 additions and 8 deletions
16
.github/workflows/gradle.yml
vendored
16
.github/workflows/gradle.yml
vendored
|
|
@ -14,23 +14,23 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK 8
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Build with Gradle
|
||||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
|
||||
with:
|
||||
arguments: build
|
||||
- run: sha256sum client/build/libs/client-1.0.0.jar | cut -d ' ' -f 1 | tr -d '\n' > client/build/libs/client-1.0.0.jar.sha256
|
||||
|
||||
- run: move client/build/libs/client-*.jar client/build/libs/rt4-client.jar
|
||||
- run: sha256sum client/build/libs/rt4-client.jar | cut -d ' ' -f 1 | tr -d '\n' > client/build/libs/rt4-client.jar.sha256
|
||||
|
||||
- name: Upload a Build Artifact
|
||||
uses: actions/upload-artifact@v3.1.0
|
||||
with:
|
||||
name: rt4-client.jar
|
||||
path: client/build/libs/client-1.0.0.jar
|
||||
- name: Upload a Build Artifact
|
||||
uses: actions/upload-artifact@v3.1.0
|
||||
with:
|
||||
name: rt4-client.jar.sha256
|
||||
path: client/build/libs/client-1.0.0.jar.sha256
|
||||
name: rt4-client
|
||||
path: client/build/libs/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue