Skip to content

Commit

Permalink
Merge branch 'mc/1.20.1' of https://github.com/WhoCraft/TardisRefined
Browse files Browse the repository at this point in the history
…into mc/1.20.1
  • Loading branch information
Jeryn99 committed Jan 8, 2025
2 parents c9f9ef2 + cf7015f commit 68d61d6
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/github_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Publish Minecraft Mod Release

on:
push:
branches:
- mc/1.20.1

jobs:
build:
runs-on: ubuntu-latest

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

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

- name: Cache Gradle dependencies
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/settings.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set executable permission for gradlew
run: chmod +x ./gradlew

- name: Build Project
run: ./gradlew build
env:
JAVA_HOME: ${{ env.JAVA_HOME }}

- name: Run Gradle githubRelease
run: ./gradlew githubRelease
env:
GITHUB_TOKEN: ${{ secrets.GITHUB }}

0 comments on commit 68d61d6

Please sign in to comment.