You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Hi 👋 , in https://github.com/actions/setup-java repo we faced an odd issue. The result output of the build command is different on Windows and macOS/Linux. Here you can check the output .js files: Windows: windows.zip Linux: linux.zip
Output of the git diff command can be found here: gitDiff.zip
Runners specification:
Tool
Ubuntu 22.04.1
Windows 11
TS
4.2.3
4.2.3
Node.js
16.19.0
16.19.1
NPM
8.19.3
8.19.3
NCC
0.33.4
0.33.4
If you open the git diff output you may notice that the innards of these files are identical (same number of lines, same block of code), only structure is different - some blocks of code are shifted.
We don't have such a problem in other repos where we use ncc, like https://github.com/actions/setup-node files built on different OS are identical. Could you give us a hint, what we are doing wrong? Can we even expect that the built files should be identical ?
What have we tried by now:
Updated ncc to the latest version -> saw no changes;
Description:
Hi 👋 , in https://github.com/actions/setup-java repo we faced an odd issue. The result output of the
build
command is different on Windows and macOS/Linux. Here you can check the output.js
files:Windows: windows.zip
Linux: linux.zip
Output of the
git diff
command can be found here: gitDiff.zipRunners specification:
If you open the
git diff
output you may notice that the innards of these files are identical (same number of lines, same block of code), only structure is different - some blocks of code are shifted.We don't have such a problem in other repos where we use
ncc
, like https://github.com/actions/setup-node files built on different OS are identical. Could you give us a hint, what we are doing wrong? Can we even expect that the built files should be identical ?What have we tried by now:
ncc
to the latest version -> saw no changes;Related issues:
#831
The text was updated successfully, but these errors were encountered: