Skip to content

Commit

Permalink
Remove vestigials (oops)
Browse files Browse the repository at this point in the history
  • Loading branch information
ATPStorages authored Apr 22, 2024
1 parent c536672 commit 935a331
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,28 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
if: steps.changed-files.outputs.src_any_changed == 'true'
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
if: steps.changed-files.outputs.src_any_changed == 'true'
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
- name: Read Properties
if: steps.changed-files.outputs.src_any_changed == 'true'
id: readproperties
uses: BrycensRanch/read-properties-action@v1
with:
file: gradle.properties
all: true
- name: Truncate Git SHA
if: steps.changed-files.outputs.src_any_changed == 'true'
id: truncated
uses: actions/[email protected]
with:
script: |
const sha = context.sha.substring(0,7)
core.setOutput('sha', sha)
core.setOutput('versionStr', '${{steps.readproperties.outputs.mod_version}}.alpha.' + sha)
core.setOutput('shouldBuild', (context.eventName === "push" && "${{steps.changed-files.outputs.src_any_changed}}" == "true").toString())
core.setOutput('shouldBuild', (context.eventName === "push").toString())
- name: Run Data Generation (Server, Client)
if: steps.changed-files.outputs.src_any_changed == 'true'
id: datagen
env:
MOD_VERSION: ${{ steps.truncated.outputs.versionStr }}
Expand Down

0 comments on commit 935a331

Please sign in to comment.