Skip to content

Commit

Permalink
Updated workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
LatvianModder committed Oct 19, 2023
1 parent 875ca63 commit 1580c93
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_2002.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ name: Java CI
on:
push:
branches:
# main and dev versions for each mc ver here
- "1.20/dev"
- "1.20/main"
- "1.20/dev"
- "1.20/main"
workflow_dispatch:
inputs:
norelease:
Expand All @@ -19,14 +18,15 @@ jobs:
if: |
!contains(github.event.head_commit.message, '[ci skip]')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 30 # Gets the last 30 commits so the changelog might work
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: gradle
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build and Publish with Gradle
Expand Down

0 comments on commit 1580c93

Please sign in to comment.