Skip to content

Commit

Permalink
Add testBuild github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Urkaz committed Jul 14, 2024
1 parent b555dbf commit 1d4b45e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/testBuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build & Publish

on:
workflow_dispatch:
push:
branches:
- '1.20.1'
paths:
- 'common/**'
- 'fabric/**'
- 'forge/**'
- '**.gradle'
- '**.properties'


jobs:
build_1_20_1:
name: Build 1.20.1
runs-on: ubuntu-latest
steps:
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'oracle'
java-version: 17
- name: Checkout
uses: actions/checkout@v4
with:
ref: '1.20.1'
- name: Build
run: ./gradlew build --stacktrace

0 comments on commit 1d4b45e

Please sign in to comment.