Skip to content

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.
@keynslug keynslug force-pushed the chore/otp-25-builds branch from e367222 to 135400b Compare December 28, 2022 08:42
- 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 force-pushed the chore/otp-25-builds branch from 4e88535 to 0b93a83 Compare January 4, 2023 08:45
@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.

3 participants