mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-10 10:20:44 -07:00
Github Action workflow
This commit is contained in:
parent
a63bf74124
commit
8ee1eb2f60
1 changed files with 30 additions and 0 deletions
30
.github/workflows/gradle.yml
vendored
Normal file
30
.github/workflows/gradle.yml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
name: Java CI with Gradle
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "master" ]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
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
|
||||||
|
- 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue