File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
lsif-semanticdb/src/main/java/com/sourcegraph/lsif_semanticdb Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 99 runs-on : ${{ matrix.os }}
1010 strategy :
1111 matrix :
12- os : [ubuntu-latest]
12+ os : [windows-latest, ubuntu-latest]
1313 steps :
1414 - uses : actions/checkout@v2
1515 - uses : actions/setup-java@v1
Original file line number Diff line number Diff line change @@ -29,11 +29,9 @@ public class LsifWriter implements AutoCloseable {
2929 private final AtomicInteger id = new AtomicInteger ();
3030
3131 public LsifWriter (LsifSemanticdbOptions options ) throws IOException {
32- this .tmp =
33- Files .createTempFile (
34- "lsif-semanticdb" ,
35- "dump.lsif" ,
36- PosixFilePermissions .asFileAttribute (PosixFilePermissions .fromString ("rw-r--r--" )));
32+ this .tmp = Files .createTempFile ("lsif-semanticdb" , "dump.lsif" );
33+ this .tmp .toFile ().setReadable (true );
34+ this .tmp .toFile ().setWritable (true );
3735 this .output =
3836 new LsifOutputStream (options , new BufferedOutputStream (Files .newOutputStream (tmp )));
3937 this .options = options ;
You can’t perform that action at this time.
0 commit comments