Skip to content

Commit 863e13b

Browse files
committed
chore: remove .NET 6 support from build configurations
1 parent 509e6b0 commit 863e13b

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # 5.0.0
2828
with:
2929
dotnet-version: |
30-
6.0.x
3130
8.0.x
3231
3332
- name: Install dependencies

.github/workflows/examples-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # 5.0.0
2828
with:
2929
dotnet-version: |
30-
6.0.x
3130
8.0.x
3231
3332
- name: Install dependencies

.github/workflows/publish-artifacts-examples-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # 5.0.0
3434
with:
3535
dotnet-version: |
36-
6.0.x
3736
8.0.x
3837
3938
- name: Build libraries
@@ -64,7 +63,6 @@ jobs:
6463
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # 5.0.0
6564
with:
6665
dotnet-version: |
67-
6.0.x
6866
8.0.x
6967
7068
- name: Download packages
@@ -124,7 +122,6 @@ jobs:
124122
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # 5.0.0
125123
with:
126124
dotnet-version: |
127-
6.0.x
128125
8.0.x
129126
130127
- name: Setup GitHub Packages source

libraries/tests/e2e/InfraShared/FunctionConstruct.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ public class FunctionConstruct : Construct
1010

1111
public FunctionConstruct(Construct scope, string id, FunctionConstructProps props) : base(scope, id)
1212
{
13-
var framework = props.Runtime == Runtime.DOTNET_6 ? "net6.0" : "net8.0";
13+
var framework = "net8.0";
1414
var distPath = $"{props.DistPath}/deploy_{props.Architecture.Name}_{props.Runtime.Name}.zip";
1515
var command = props.IsAot
16-
? $"dotnet-lambda package -pl {props.SourcePath} -cmd ../../../ -o {distPath} -f net8.0 -farch {props.Architecture.Name} -cifb public.ecr.aws/sam/build-dotnet8"
16+
? $"dotnet-lambda package -pl {props.SourcePath} -cmd ../../../ -o {distPath} -farch {props.Architecture.Name} -cifb public.ecr.aws/sam/build-dotnet8"
1717
: $"dotnet-lambda package -pl {props.SourcePath} -o {distPath} -f {framework} -farch {props.Architecture.Name}";
1818

1919
Console.WriteLine(command);

0 commit comments

Comments
 (0)