File tree 8 files changed +31
-31
lines changed
8 files changed +31
-31
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ root = true
2
2
3
3
[* ]
4
4
charset = utf-8
5
- indent_style = tab
6
- indent_size = 4
7
5
end_of_line = lf
8
- insert_final_newline = false
9
6
trim_trailing_whitespace = true
7
+ insert_final_newline = true
10
8
11
9
[* .cs ]
10
+ indent_style = tab
11
+ indent_size = 4
12
12
dotnet_separate_import_directive_groups = true
13
13
dotnet_sort_system_directives_first = true
14
14
csharp_new_line_before_open_brace = none
@@ -26,4 +26,4 @@ dotnet_style_qualification_for_event = false:suggestion
26
26
dotnet_style_qualification_for_field = false :suggestion
27
27
dotnet_style_qualification_for_method = false :suggestion
28
28
dotnet_style_qualification_for_property = false :suggestion
29
- dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
29
+ dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
Build :
10
- runs-on : ubuntu-latest
10
+ runs-on : ubuntu-latest
11
11
12
12
strategy :
13
13
fail-fast : false
@@ -17,12 +17,12 @@ jobs:
17
17
steps :
18
18
- name : Checkout Repository
19
19
uses : actions/checkout@main
20
-
20
+
21
21
- name : Setup .NET
22
22
uses : actions/setup-dotnet@main
23
23
with :
24
24
dotnet-version : 5.0.x
25
-
25
+
26
26
- name : Build
27
27
working-directory : UnityAssetReplacer/
28
28
run : dotnet build -c Release -r ${{matrix.platform}}
Original file line number Diff line number Diff line change 8
8
jobs :
9
9
Lint :
10
10
runs-on : ubuntu-latest
11
-
11
+
12
12
steps :
13
13
- name : Checkout Repository
14
14
uses : actions/checkout@v2
Original file line number Diff line number Diff line change 6
6
main
7
7
8
8
jobs :
9
- Build :
9
+ Build :
10
10
runs-on : ubuntu-latest
11
11
12
12
strategy :
@@ -17,40 +17,40 @@ jobs:
17
17
steps :
18
18
- name : Checkout Repository
19
19
uses : actions/checkout@main
20
-
20
+
21
21
- name : Setup .NET
22
22
uses : actions/setup-dotnet@main
23
23
with :
24
24
dotnet-version : 5.0.x
25
-
25
+
26
26
- name : Build
27
27
run : dotnet publish -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=None -c Release -r ${{matrix.platform}}
28
-
28
+
29
29
- name : Copy LICENSE
30
30
run : cp LICENSE UnityAssetReplacer/bin/Release/net5.0/${{matrix.platform}}/publish/LICENSE
31
-
31
+
32
32
- name : Copy README.md
33
33
run : cp README.md UnityAssetReplacer/bin/Release/net5.0/${{matrix.platform}}/publish/README.md
34
-
34
+
35
35
- name : Compress
36
36
working-directory : UnityAssetReplacer/bin/Release/net5.0/${{matrix.platform}}/publish/
37
37
run : zip -9 UnityAssetReplacer-${{matrix.platform}}-prerelease.zip *
38
-
38
+
39
39
- name : Upload Package
40
40
uses : actions/upload-artifact@main
41
41
with :
42
42
name : UnityAssetReplacer-${{matrix.platform}}-prerelease.zip
43
43
path : UnityAssetReplacer/bin/Release/net5.0/${{matrix.platform}}/publish/UnityAssetReplacer-${{matrix.platform}}-prerelease.zip
44
44
if-no-files-found : error
45
-
45
+
46
46
Upload :
47
47
needs : Build
48
48
runs-on : ubuntu-latest
49
-
49
+
50
50
steps :
51
51
- name : Download Packages
52
52
uses : actions/download-artifact@main
53
-
53
+
54
54
- name : Upload Pre-release
55
55
uses : marvinpinto/action-automatic-releases@latest
56
56
with :
Original file line number Diff line number Diff line change 6
6
- v*
7
7
8
8
jobs :
9
- Build :
9
+ Build :
10
10
runs-on : ubuntu-latest
11
11
12
12
strategy :
@@ -17,40 +17,40 @@ jobs:
17
17
steps :
18
18
- name : Checkout Repository
19
19
uses : actions/checkout@main
20
-
20
+
21
21
- name : Setup .NET
22
22
uses : actions/setup-dotnet@main
23
23
with :
24
24
dotnet-version : 5.0.x
25
-
25
+
26
26
- name : Build
27
27
run : dotnet publish -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=None -c Release -r ${{matrix.platform}}
28
-
28
+
29
29
- name : Copy LICENSE
30
30
run : cp LICENSE UnityAssetReplacer/bin/Release/net5.0/${{matrix.platform}}/publish/LICENSE
31
-
31
+
32
32
- name : Copy README.md
33
33
run : cp README.md UnityAssetReplacer/bin/Release/net5.0/${{matrix.platform}}/publish/README.md
34
-
34
+
35
35
- name : Compress
36
36
working-directory : UnityAssetReplacer/bin/Release/net5.0/${{matrix.platform}}/publish/
37
37
run : zip -9 UnityAssetReplacer-${{matrix.platform}}.zip *
38
-
38
+
39
39
- name : Upload Package
40
40
uses : actions/upload-artifact@main
41
41
with :
42
42
name : UnityAssetReplacer-${{matrix.platform}}.zip
43
43
path : UnityAssetReplacer/bin/Release/net5.0/${{matrix.platform}}/publish/UnityAssetReplacer-${{matrix.platform}}.zip
44
44
if-no-files-found : error
45
-
45
+
46
46
Upload :
47
47
needs : Build
48
48
runs-on : ubuntu-latest
49
-
49
+
50
50
steps :
51
51
- name : Download Packages
52
52
uses : actions/download-artifact@main
53
-
53
+
54
54
- name : Upload Release
55
55
uses : marvinpinto/action-automatic-releases@latest
56
56
with :
Original file line number Diff line number Diff line change @@ -76,4 +76,4 @@ private static void Help() {
76
76
Console . Error . WriteLine ( "Try `" + AppDomain . CurrentDomain . FriendlyName + " --help' for more information." ) ;
77
77
}
78
78
}
79
- }
79
+ }
Original file line number Diff line number Diff line change 38
38
// [assembly: AssemblyVersion("1.0.*")]
39
39
[ assembly: AssemblyVersion ( "2.1.2.0" ) ]
40
40
[ assembly: AssemblyFileVersion ( "2.1.2.0" ) ]
41
- [ assembly: NeutralResourcesLanguage ( "en-US" ) ]
41
+ [ assembly: NeutralResourcesLanguage ( "en-US" ) ]
Original file line number Diff line number Diff line change @@ -138,4 +138,4 @@ public void DumpAssets(string dumpPath) {
138
138
}
139
139
}
140
140
}
141
- }
141
+ }
You can’t perform that action at this time.
0 commit comments