Skip to content

Merge branch '1.20.6/base' into 1.20.6/battle #38

Merge branch '1.20.6/base' into 1.20.6/battle

Merge branch '1.20.6/base' into 1.20.6/battle #38

Workflow file for this run

name: AutoHash
on: [push]
jobs:
AutoHash:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
- uses: robinraju/[email protected]
with:
repository: 'Legacy-Edition-Minigames/ToolBox'
latest: true
fileName: 'Toolbox2.0_noupdater.jar'
out-file-path: '.toolbox'
- name: Hash Files
working-directory: ./.toolbox
run: java -jar Toolbox2.0_noupdater.jar --autoHash
- name: Delete AutoHasher
working-directory: ./.toolbox
run: rm Toolbox2.0_noupdater.jar
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Auto generate hash for dependency files