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

Added nightly workflow #862

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Added nightly workflow #862

wants to merge 5 commits into from

Conversation

biast12
Copy link

@biast12 biast12 commented Aug 26, 2023

Nightly automatically builds a release of the app and uploads it to a release, the only thing you gotta do is make a release specially for this and get the release_id and change the 118815966 in this code, you can get the release_id at https://api.github.com/repos/lrsjng/h5ai/releases, and take the number under the name of the release and id (should be 9 numbers), and change the branches from workflow to master (assuming you want it to use the master branch)

when that's changed should it completely build a release every time someone commits something to the repo, you can see an example of it here: https://github.com/biast12/h5ai/releases/tag/Release

- run: npm run build

- name: ZIP Executable
if: steps.commitswithintime.outputs.has-new-commits-within-time != 'false'
Copy link

Choose a reason for hiding this comment

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

I don't see this step in this workflow. - Copy and paste error?

Copy link
Author

Choose a reason for hiding this comment

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

the name should give out what it does, it's zipping the builded files, also yes it's in the workflow
image

fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.2
Copy link

Choose a reason for hiding this comment

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

Why the full version? Why not v4?

Copy link
Author

Choose a reason for hiding this comment

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

why v4?

Copy link

Choose a reason for hiding this comment

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

Because its the latest release with a newer NodeJS version and will not lead to depreciation warnings. See https://github.com/actions/checkout/releases/tag/v4.0.0

Comment on lines +17 to +18
with:
fetch-depth: 1
Copy link

Choose a reason for hiding this comment

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

This is not required, is it?

- name: Build with npm
uses: actions/setup-node@v3
with:
node-version: 10.15
Copy link

Choose a reason for hiding this comment

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

Why this old node version? Please add a comment if this is really required. Otherwise, I would propose to use v20 (LTS)

Copy link
Author

Choose a reason for hiding this comment

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

Pretty sure h5ai as a whole got an issue building with newer versions of node, did you try to build the program yourself?

Copy link

Choose a reason for hiding this comment

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

Then a code comment could be added to make it clear. It might happen that someone activates dependabot...

@biast12
Copy link
Author

biast12 commented Feb 5, 2024

sir i made this PR 6 months ago, how do you expect me to remember any of this, also why are you even asking all of these things in the first place lol

@biast12
Copy link
Author

biast12 commented Feb 11, 2024

@glubsy why don't you answer these instead of making a thumbs down emoji lol

@glubsy
Copy link

glubsy commented Feb 13, 2024

@biast12 I thought the comment was nor warranted nor necessary, that's all. No need to justify not remembering code from a while back, if you can't answer the questions, just don't answer them 😛

anyway don't take it personally 😉

@biast12
Copy link
Author

biast12 commented Feb 13, 2024

Sorry but i find it a bit weird code review someone code from half a year ago with questions that would have been answered if he just build the program
But even if isn't your reaction just as unwarranted and unnecessary? if you don't have something to add then ignore it and move on

@koppor
Copy link

koppor commented Mar 15, 2024

sir i made this PR 6 months ago, how do you expect me to remember any of this, also why are you even asking all of these things in the first place lol

Because I am also a user of h5ai and just stumbled on this PR. Wanted to reduce load for the original maintainer....

@koppor
Copy link

koppor commented Mar 15, 2024

Sorry but i find it a bit weird code review someone code from half a year ago with questions that would have been answered if he just build the program
But even if isn't your reaction just as unwarranted and unnecessary? if you don't have something to add then ignore it and move on

I think general questions on the workflow such as " fetch-depth: 1" can be answered without building ✌️

@biast12
Copy link
Author

biast12 commented Mar 15, 2024

a month later lmao 😂

@koppor
Copy link

koppor commented Mar 16, 2024

a month later lmao 😂

And not a year later. ✌️

I wish you that for your free time projects you manage to have fast response times. And that you manage to contribute to many projects to spread your wisdom!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants