Skip to content
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

Merged
merged 9 commits into from
Jan 4, 2023

Conversation

keynslug
Copy link
Contributor

Also simplify workflows where possible.


EMQX-8562

It was a part of build-packaged workflow for a long time.
@keynslug keynslug force-pushed the chore/otp-25-builds branch 5 times, most recently from 443807c to e367222 Compare December 28, 2022 08:28
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.
.github/workflows/build_packages.yaml Outdated Show resolved Hide resolved
.github/workflows/build_packages.yaml Outdated Show resolved Hide resolved
.github/workflows/build_packages.yaml Outdated Show resolved Hide resolved
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
fetch-depth: 0
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Co-authored-by: Ivan Dyachkov <dev@dyachkov.org>
@keynslug keynslug merged commit 8026d9c into emqx:master Jan 4, 2023
@keynslug keynslug deleted the chore/otp-25-builds branch January 4, 2023 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants