@@ -66,16 +66,17 @@ await Task.WhenAll([
6666var dispatchesv2 = await app . Services . GetRequiredService < IStore < Helldivers . Models . V2 . Dispatch , int > > ( ) . AllAsync ( maxRuntime . Token ) ;
6767var store = await app . Services . GetRequiredService < IStore < SpaceStation , long > > ( ) . AllAsync ( maxRuntime . Token ) ;
6868
69- Directory . CreateDirectory ( "v1" ) ;
70- Directory . CreateDirectory ( "v2" ) ;
69+ Directory . CreateDirectory ( "ci" ) ;
70+ Directory . CreateDirectory ( "ci/v1" ) ;
71+ Directory . CreateDirectory ( "ci/v2" ) ;
7172
7273var options = new JsonSerializerOptions { WriteIndented = true } ;
73- await File . WriteAllBytesAsync ( "v1/assignments.json" , JsonSerializer . SerializeToUtf8Bytes ( assignments , options ) , maxRuntime . Token ) ;
74- await File . WriteAllBytesAsync ( "v1/campaigns.json" , JsonSerializer . SerializeToUtf8Bytes ( campaigns , options ) , maxRuntime . Token ) ;
75- await File . WriteAllBytesAsync ( "v1/dispatches.json" , JsonSerializer . SerializeToUtf8Bytes ( dispatchesv1 , options ) , maxRuntime . Token ) ;
76- await File . WriteAllBytesAsync ( "v1/planets.json" , JsonSerializer . SerializeToUtf8Bytes ( planets , options ) , maxRuntime . Token ) ;
77- await File . WriteAllBytesAsync ( "v1/war.json" , JsonSerializer . SerializeToUtf8Bytes ( war , options ) , maxRuntime . Token ) ;
78- await File . WriteAllBytesAsync ( "v2/dispatches.json" , JsonSerializer . SerializeToUtf8Bytes ( dispatchesv2 , options ) , maxRuntime . Token ) ;
79- await File . WriteAllBytesAsync ( "v2/space-stations.json" , JsonSerializer . SerializeToUtf8Bytes ( store , options ) , maxRuntime . Token ) ;
74+ await File . WriteAllBytesAsync ( "ci/ v1/assignments.json" , JsonSerializer . SerializeToUtf8Bytes ( assignments , options ) , maxRuntime . Token ) ;
75+ await File . WriteAllBytesAsync ( "ci/ v1/campaigns.json" , JsonSerializer . SerializeToUtf8Bytes ( campaigns , options ) , maxRuntime . Token ) ;
76+ await File . WriteAllBytesAsync ( "ci/ v1/dispatches.json" , JsonSerializer . SerializeToUtf8Bytes ( dispatchesv1 , options ) , maxRuntime . Token ) ;
77+ await File . WriteAllBytesAsync ( "ci/ v1/planets.json" , JsonSerializer . SerializeToUtf8Bytes ( planets , options ) , maxRuntime . Token ) ;
78+ await File . WriteAllBytesAsync ( "ci/ v1/war.json" , JsonSerializer . SerializeToUtf8Bytes ( war , options ) , maxRuntime . Token ) ;
79+ await File . WriteAllBytesAsync ( "ci/ v2/dispatches.json" , JsonSerializer . SerializeToUtf8Bytes ( dispatchesv2 , options ) , maxRuntime . Token ) ;
80+ await File . WriteAllBytesAsync ( "ci/ v2/space-stations.json" , JsonSerializer . SerializeToUtf8Bytes ( store , options ) , maxRuntime . Token ) ;
8081
8182return 0 ;
0 commit comments