-
Notifications
You must be signed in to change notification settings - Fork 3
Set up verification of executables on build #627 #628
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
base: master
Are you sure you want to change the base?
Conversation
624fad1 to
9ef2a81
Compare
| console.log(`Skipping verification for ${platform} ${arch}`); | ||
| process.exit(0); | ||
| } | ||
| if (platform === 'linux' && env['NODE_ARCH'] === 'arm64') { |
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.
only for linux? so on mac it is different?
| strategy: | ||
| matrix: | ||
| os: [ubuntu-latest, macos-latest, windows-latest] | ||
| arch: [x64, arm64] |
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.
| arch: [x64, arm64] | |
| arch: [x64, arm64] | |
| exclude: | |
| - os: windows-latest | |
| arch: arm64 |
| */ | ||
| let thisArch = arch; | ||
| if (env['NODE_ARCH']) { | ||
| if (platform === 'win32' && env['NODE_ARCH'] === 'arm64') { |
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.
this magic is not needed if verification matrix excludes arm windows binary
| with: | ||
| args: --clean --snapshot --skip=snapcraft | ||
|
|
||
| - name: Upload the binaries |
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.
this will bloat github actions with large files - very quickly isn't it s that goreleaser already uploads binaries somewhere?
No description provided.