Skip to content

Commit

Permalink
Create build1201.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MulatramAwA authored Nov 30, 2024
1 parent e1fff79 commit f360082
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/build1201.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Build 1.20.1

on:
push:
branches: 1.20.1/main
pull_request:
branches: 1.20.1/main
workflow_dispatch:
env:
JAVA_VERSION: 17
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Environment Variables
run: env

- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: true

- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 17
- name: Make Gradle Wrapper Executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew

- name: Build
run: ./gradlew clean build

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: artifact
path: |
./Merged/*
./common/build/libs/*
./fabric/build/libs/*
./forge/build/libs/*

0 comments on commit f360082

Please sign in to comment.