-
Notifications
You must be signed in to change notification settings - Fork 171
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
ci: run tests and build releases under recent OTP-24/25 #176
Conversation
It was a part of build-packaged workflow for a long time.
443807c
to
e367222
Compare
Also simplify workflows where possible.
Also fallback to rebar3 3.19.0 when system-wide one is unavailable.
So that Github won't complain that we're running on outdated Node.js runtime anymore.
This check wasn't working as expected anyway and silently passed because of the lack of quoting in the test expression.
e367222
to
135400b
Compare
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 |
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.
why do we want full history?
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.
Because the build script needs some recent git tag, and the checkout action fetches tags only if fetch-depth: 0
. Strictly speaking that might be unnecessary because the build script works even without tags, and the checkout action seems smart enough to setup git tag in shallow clones during release
-triggered workflow runs. I'll remove that line.
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.
Well, that didn't work for a different reason, packaging scripts became confused.
Co-authored-by: Ivan Dyachkov <[email protected]>
4e88535
to
0b93a83
Compare
Also simplify workflows where possible.
EMQX-8562