Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuGabe authored Jul 27, 2024
1 parent 0df4e28 commit 6d007f8
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: build

on: [push, workflow_call]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: Grant execute permission for gradle
run: chmod +x gradlew

- name: Build with Gradle
uses: gradle/[email protected]
with:
arguments: build

- name: Upload Jars
uses: actions/[email protected]
with:
name: Shimmer
if-no-files-found: error
path: |
Fabric/build/libs
Forge/build/libs

0 comments on commit 6d007f8

Please sign in to comment.