File tree Expand file tree Collapse file tree 2 files changed +4
-20
lines changed
content/programming-guides Expand file tree Collapse file tree 2 files changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,13 @@ jobs:
1414 contents : write
1515 runs-on : ubuntu-22.04
1616 steps :
17- - uses : actions/checkout@v4
17+ - uses : actions/checkout@v3
1818 with :
1919 submodules : true # Fetch Hugo themes (true OR recursive)
2020 fetch-depth : 0 # Fetch all history for .GitInfo and .Lastmod
2121
22- - uses : actions/setup-node@v4
23- with :
24- node-version : 20
25-
2622 - name : Setup Hugo
27- uses : peaceiris/actions-hugo@v3
23+ uses : peaceiris/actions-hugo@v2
2824 with :
2925 hugo-version : 0.121.2
3026 extended : true
3632 run : hugo --minify
3733
3834 - name : Deploy
39- uses : peaceiris/actions-gh-pages@v4
35+ uses : peaceiris/actions-gh-pages@v3
4036 if : github.ref == 'refs/heads/main'
4137 with :
4238 github_token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -114,26 +114,14 @@ Under editions, this behavior is represented by the deprecated field feature
114114[ ` features.(pb.cpp).legacy_closed_enum ` ] ( /editions/features#legacy_closed_enum ) .
115115There are two options for moving to conformant behavior:
116116
117- * Remove the field feature. This is the recommended approach, but may cause
118- runtime behavior changes. Without the feature, unrecognized integers will
119- end up stored in the field cast to the enum type instead of being put into
120- the unknown field set.
121- * Change the enum to closed. This is discouraged, and can cause runtime
122- behavior if * anybody else* is using the enum. Unrecognized integers will end
123- up in the unknown field set instead of those fields.
124-
125- Under editions, this behavior is represented by the deprecated field feature
126- [ ` features.(pb.cpp).legacy_closed_enum ` ] ( /editions/features#legacy_closed_enum ) .
127- There are two options for moving to conformant behavior:
128-
129117* Remove the field feature. This is the recommended approach, but may cause
130118 runtime behavior changes. Without the feature, unrecognized integers will
131119 end up stored in the field cast to the enum type instead of being put into
132120 the unknown field set.
133121* Change the enum to closed. This is discouraged, and can cause runtime
134122 behavior changes if * anybody else* is using the enum. Unrecognized integers
135123 will end up in the unknown field set instead of those fields.
136-
124+
137125### C# ; {#csharp}
138126
139127All known C# releases are out of conformance. C# treats all enums as ** open** .
You can’t perform that action at this time.
0 commit comments