-
Notifications
You must be signed in to change notification settings - Fork 77
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
Update github action to support linux and macos asset uploading #18
Conversation
chore: update github action chore: update github action
@saharNooby Hi, I found your linux and macos assets are not been uploaded, so I modified your github action |
.github/workflows/build.yml
Outdated
uses: actions/upload-artifact@v3 | ||
with: | ||
path: | | ||
rwkv-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-linux.zip |
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.
I think it needs to specify OS name, ubuntu
in this case. As I know, there are many different Linuxes, and after building on Ubuntu library may just not work on some.
Is it possible to also include arch and OS version (for Mac OS too)? Maybe there is some env variable for that...
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.
Sure, I will handle it asap
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.
@saharNooby Hi, I have updated the file names.
you could check the file names from https://github.com/yorkzero831/rwkv.cpp/releases/tag/master-a3fe1c6
ubuntu aseet will look like rwkv-master-a3fe1c6-bin-Linux-Ubuntu-22.04-x86_64.zip
macos asset will look like rwkv-master-a3fe1c6-bin-Darwin-macOS-12.6.4-x86_64.zip
I was thought macos will run on M1 which is arm64, seems github action dosen't support it yet
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.
Looks great! One small thing -- Windows zips have rwkv.dll
in the zip root, without subdirectories. Can Linux/MacOS zips also have no subdirectories for consistency? Or will it break something?
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.
Oh I didn't realize it, will change, give me 10 mins
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.
@saharNooby it shuold be fixed you could verify from https://github.com/yorkzero831/rwkv.cpp/releases/tag/master-5662bf4
As same as the title