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

Move repetitive build commands into environment variables #989

Merged
merged 2 commits into from Apr 19, 2023

Conversation

m4heshd
Copy link
Contributor

@m4heshd m4heshd commented Apr 11, 2023

It's unnecessary to have the same, base build command fully written for each job.

@m4heshd m4heshd requested review from JoshuaWise and a team as code owners April 11, 2023 01:01
mceachen added a commit to mceachen/better-sqlite3 that referenced this pull request Apr 11, 2023
Co-authored-by: mceachen <mceachen@users.noreply.github.com>
Copy link
Member

@mceachen mceachen left a comment

Choose a reason for hiding this comment

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

Thanks!

@mceachen mceachen merged commit c88ca6d into WiseLibs:master Apr 19, 2023
mceachen added a commit that referenced this pull request Apr 19, 2023
@mceachen
Copy link
Member

Apologies! Somehow my branch forgot the env. prefix for NODE_BUILD_CMD and ELECTRON_BUILD_CMD.

@m4heshd if you create a PR from master...mceachen:better-sqlite3:fix-broken-989 I can approve it and get it merged.

m4heshd added a commit to m4heshd/better-sqlite3 that referenced this pull request Apr 19, 2023
* Move repetitive build commands into environment variables

* Merge 'https://github.com/mceachen/better-sqlite3/tree/dry-gha-989'

Co-authored-by: mceachen <mceachen@users.noreply.github.com>

---------

Co-authored-by: mceachen <mceachen@users.noreply.github.com>
mceachen added a commit that referenced this pull request Apr 19, 2023
* Move repetitive build commands into environment variables (#989)

* Move repetitive build commands into environment variables

* Merge 'https://github.com/mceachen/better-sqlite3/tree/dry-gha-989'

Co-authored-by: mceachen <mceachen@users.noreply.github.com>

---------

Co-authored-by: mceachen <mceachen@users.noreply.github.com>

* restore "env." prefixes to NODE_BUILD_CMD and ELECTRON_BUILD_CMD

---------

Co-authored-by: mceachen <mceachen@users.noreply.github.com>
Co-authored-by: Matthew McEachen <matthew@photostructure.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants