Skip to content

Commit

Permalink
workflows?
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCGuyGitHub committed Jun 30, 2024
1 parent d60ac9d commit 5a3540e
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Java CI with Gradle

on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up JDK 21
uses: actions/setup-java@v4.2.1
with:
java-version: '17'
distribution: 'temurin'

- name: Make Gradle wrapper executable
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew shadowJar

- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
with:
name: skRedis-Artifact
path: build/libs/CloudNet-Rest-Module-1.0-SNAPSHOT-all.jar

0 comments on commit 5a3540e

Please sign in to comment.