Skip to content

Commit

Permalink
Merge pull request #1 from MCTeamPotato/master
Browse files Browse the repository at this point in the history
port
  • Loading branch information
KLjiana authored Aug 29, 2024
2 parents 07c014a + ab64b91 commit 8943cac
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Setup JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.1.1

- name: Run build
run: gradle build

- name: Upload files
uses: actions/upload-artifact@v4
with:
name: build and source jars
path: build/libs/*.jar
retention-days: 7

0 comments on commit 8943cac

Please sign in to comment.