14
14
- future
15
15
16
16
env :
17
- dotnet_sdk_version : ' 7.x '
17
+ dotnet_sdk_version : ' 8.0.100-preview.5.23303.2 '
18
18
REPOSITORY_NAME : ${{ github.event.repository.name }}
19
19
MORYX_PACKAGE_TARGET_DEV : ' https://www.myget.org/F/moryx/api/v2/package'
20
20
MORYX_PACKAGE_TARGET_V3_DEV : ' https://www.myget.org/F/moryx/api/v3/index.json'
24
24
MORYX_PACKAGE_TARGET_V3_RELEASE : ' https://api.nuget.org/v3/index.json'
25
25
26
26
jobs :
27
- EnvVar :
27
+ SetupEnvironment :
28
28
runs-on : ubuntu-latest
29
29
steps :
30
30
- run : echo ""
@@ -39,60 +39,60 @@ jobs:
39
39
MORYX_PACKAGE_TARGET_V3_RELEASE : ${{ env.MORYX_PACKAGE_TARGET_V3_RELEASE }}
40
40
41
41
Build :
42
- needs : [EnvVar ]
43
- uses : phoenixcontact/tools/.github/workflows/build-tool.yml@main
42
+ needs : [SetupEnvironment ]
43
+ uses : phoenixcontact/tools/.github/workflows/build-tool.yml@future
44
44
with :
45
- dotnet_sdk_version : ${{ needs.EnvVar .outputs.dotnet_sdk_version }}
46
- REPOSITORY_NAME : ${{ needs.EnvVar .outputs.REPOSITORY_NAME }}
45
+ dotnet_sdk_version : ${{ needs.SetupEnvironment .outputs.dotnet_sdk_version }}
46
+ REPOSITORY_NAME : ${{ needs.SetupEnvironment .outputs.REPOSITORY_NAME }}
47
47
48
48
UnitTests :
49
- needs : [EnvVar , Build]
50
- uses : phoenixcontact/tools/ .github/workflows/unittest-tool.yml@main
49
+ needs : [SetupEnvironment , Build]
50
+ uses : ./ .github/workflows/unittest-tool.yml@future
51
51
with :
52
- dotnet_sdk_version : ${{ needs.EnvVar .outputs.dotnet_sdk_version }}
53
- REPOSITORY_NAME : ${{ needs.EnvVar .outputs.REPOSITORY_NAME }}
52
+ dotnet_sdk_version : ${{ needs.SetupEnvironment .outputs.dotnet_sdk_version }}
53
+ REPOSITORY_NAME : ${{ needs.SetupEnvironment .outputs.REPOSITORY_NAME }}
54
54
55
55
IntegrationTests :
56
- needs : [EnvVar , Build]
57
- uses : phoenixcontact/tools/.github/workflows/integrationtest-tool.yml@main
56
+ needs : [SetupEnvironment , Build]
57
+ uses : phoenixcontact/tools/.github/workflows/integrationtest-tool.yml@future
58
58
with :
59
- dotnet_sdk_version : ${{ needs.EnvVar .outputs.dotnet_sdk_version }}
60
- REPOSITORY_NAME : ${{ needs.EnvVar .outputs.REPOSITORY_NAME }}
59
+ dotnet_sdk_version : ${{ needs.SetupEnvironment .outputs.dotnet_sdk_version }}
60
+ REPOSITORY_NAME : ${{ needs.SetupEnvironment .outputs.REPOSITORY_NAME }}
61
61
62
62
ReportGenerator :
63
- needs : [EnvVar , UnitTests, IntegrationTests]
64
- uses : phoenixcontact/tools/.github/workflows/reportgenerator-tool.yml@main
63
+ needs : [SetupEnvironment , UnitTests, IntegrationTests]
64
+ uses : phoenixcontact/tools/.github/workflows/reportgenerator-tool.yml@future
65
65
with :
66
- REPOSITORY_NAME : ${{ needs.EnvVar .outputs.REPOSITORY_NAME }}
66
+ REPOSITORY_NAME : ${{ needs.SetupEnvironment .outputs.REPOSITORY_NAME }}
67
67
68
68
Publish-Test-Coverage :
69
- needs : [EnvVar , ReportGenerator]
70
- uses : phoenixcontact/tools/.github/workflows/publish-test-coverage-tool.yml@main
69
+ needs : [SetupEnvironment , ReportGenerator]
70
+ uses : phoenixcontact/tools/.github/workflows/publish-test-coverage-tool.yml@future
71
71
with :
72
- REPOSITORY_NAME : ${{ needs.EnvVar .outputs.REPOSITORY_NAME }}
72
+ REPOSITORY_NAME : ${{ needs.SetupEnvironment .outputs.REPOSITORY_NAME }}
73
73
secrets :
74
74
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
75
75
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
76
76
77
- # currently not working with .Net 8 and in Framework-repo
78
- # Documentation:
79
- # needs: [EnvVar , UnitTests]
80
- # uses: phoenixcontact/tools/.github/workflows/documentation-tool.yml@main
81
- # with:
82
- # REPOSITORY_NAME: ${{ needs.EnvVar .outputs.REPOSITORY_NAME }}
77
+
78
+ Documentation :
79
+ needs : [SetupEnvironment , UnitTests]
80
+ uses : phoenixcontact/tools/.github/workflows/documentation-tool.yml@future
81
+ with :
82
+ REPOSITORY_NAME : ${{ needs.SetupEnvironment .outputs.REPOSITORY_NAME }}
83
83
84
84
Publish :
85
- needs : [EnvVar , UnitTests]
86
- uses : phoenixcontact/tools/.github/workflows/publish-tool.yml@main
85
+ needs : [SetupEnvironment , UnitTests]
86
+ uses : phoenixcontact/tools/.github/workflows/publish-tool.yml@future
87
87
with :
88
- dotnet_sdk_version : ${{ needs.EnvVar .outputs.dotnet_sdk_version }}
89
- REPOSITORY_NAME : ${{ needs.EnvVar .outputs.REPOSITORY_NAME }}
90
- MORYX_PACKAGE_TARGET_DEV : ${{ needs.EnvVar .outputs.MORYX_PACKAGE_TARGET_DEV }}
91
- MORYX_PACKAGE_TARGET_V3_DEV : ${{ needs.EnvVar .outputs.MORYX_PACKAGE_TARGET_V3_DEV }}
92
- MORYX_PACKAGE_TARGET_FUTURE : ${{ needs.EnvVar .outputs.MORYX_PACKAGE_TARGET_FUTURE }}
93
- MORYX_PACKAGE_TARGET_V3_FUTURE : ${{ needs.EnvVar .outputs.MORYX_PACKAGE_TARGET_V3_FUTURE }}
94
- MORYX_PACKAGE_TARGET_RELEASE : ${{ needs.EnvVar .outputs.MORYX_PACKAGE_TARGET_RELEASE }}
95
- MORYX_PACKAGE_TARGET_V3_RELEASE : ${{ needs.EnvVar .outputs.MORYX_PACKAGE_TARGET_V3_RELEASE }}
88
+ dotnet_sdk_version : ${{ needs.SetupEnvironment .outputs.dotnet_sdk_version }}
89
+ REPOSITORY_NAME : ${{ needs.SetupEnvironment .outputs.REPOSITORY_NAME }}
90
+ MORYX_PACKAGE_TARGET_DEV : ${{ needs.SetupEnvironment .outputs.MORYX_PACKAGE_TARGET_DEV }}
91
+ MORYX_PACKAGE_TARGET_V3_DEV : ${{ needs.SetupEnvironment .outputs.MORYX_PACKAGE_TARGET_V3_DEV }}
92
+ MORYX_PACKAGE_TARGET_FUTURE : ${{ needs.SetupEnvironment .outputs.MORYX_PACKAGE_TARGET_FUTURE }}
93
+ MORYX_PACKAGE_TARGET_V3_FUTURE : ${{ needs.SetupEnvironment .outputs.MORYX_PACKAGE_TARGET_V3_FUTURE }}
94
+ MORYX_PACKAGE_TARGET_RELEASE : ${{ needs.SetupEnvironment .outputs.MORYX_PACKAGE_TARGET_RELEASE }}
95
+ MORYX_PACKAGE_TARGET_V3_RELEASE : ${{ needs.SetupEnvironment .outputs.MORYX_PACKAGE_TARGET_V3_RELEASE }}
96
96
secrets :
97
97
MYGET_TOKEN : ${{secrets.MYGET_TOKEN}}
98
98
NUGET_TOKEN : ${{secrets.NUGET_TOKEN}}
0 commit comments