-
Notifications
You must be signed in to change notification settings - Fork 73
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
Use GitHub Actions #96
Conversation
.github/workflows/main.yml
Outdated
echo $libdir | ||
((Get-Content -path ./accesser.spec -Raw) -replace 'Python安装的目录',$libdir) | Set-Content -Path ./accesser.spec | ||
((Get-Content -path ./accesser.spec -Raw) -replace '\\','/') | Set-Content -Path ./accesser.spec | ||
((Get-Content -path ./accesser.spec -Raw) -replace 'Lib','lib') | Set-Content -Path ./accesser.spec |
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.
不知道py3.9是大写还是小写,不过Windows下应该大小不敏感吧
还有'\\'
→'/'
是不是必须的,如果这样的话,我直接改下gist比较好
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.
PS C:\Users\x> python -c 'import site; print(site.getsitepackages()[1])'
C:\Program Files\Python39\lib\site-packages
是小写的,可以确认
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.
嗯,\ 和 / 不会影响编译
@URenko |
抱歉我搞错了一点,
的问题是python输出了已经转义的字符串。我换了一种大概更准确的写法,你可以看看: Accesser/.github/workflows/test.yml Line 37 in 7ec2f82
Accesser/.github/workflows/test.yml Line 39 in 7ec2f82
test.yml是每次push都upload artifact但不release。 除此之外,我刚把 最后还是自动release为draft吧,毕竟有根据最新的publish自动更新。 |
And, again correct json syntax of config.json :P