-
Notifications
You must be signed in to change notification settings - Fork 1
chore: setup ci #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
7c57752
to
cf77a87
Compare
2b388a3
to
38cb24e
Compare
uses: useblacksmith/cache@v5 | ||
with: | ||
path: build | ||
key: build-${{ inputs.mc }}-${{ hashFiles('./*') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not great and should exclude files like release-please-config.json, README.MD and LICENSE, but besides those all other files affect ci, code or build system and changes should satisfy a rebuild of everything
if "${{ steps.filter.outcome }}" == "success": | ||
# TODO: if only README or LICENSE changed, no need to run all versions! | ||
# dirs_to_filter = json.loads('${{ steps.filter.outputs.changes }}') | ||
versions_to_run = ['all'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above, almost all files are ci, code or build system now and should cause everything to be rebuild
It would probably make it simpler to place all code in a subdirectory again? |
I would encourage this yes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move gradle project to subdirectory
a986ca4
to
4f53f57
Compare
a220151
to
58fb829
Compare
Uh oh!
There was an error while loading. Please reload this page.