Skip to content

Commit 5e6f2da

Browse files
committed
Do not overwrite environment variables that are already set by included tools
1 parent 428ce72 commit 5e6f2da

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.github/workflows/build.yaml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ on:
1616
env:
1717
dotnet_sdk_version: '8.0.100-preview.5.23303.2'
1818
REPOSITORY_NAME: ${{ github.event.repository.name }}
19-
MORYX_PACKAGE_TARGET_DEV: 'https://www.myget.org/F/moryx/api/v2/package'
20-
MORYX_PACKAGE_TARGET_V3_DEV: 'https://www.myget.org/F/moryx/api/v3/index.json'
21-
MORYX_PACKAGE_TARGET_FUTURE: 'https://www.myget.org/F/moryx-future/api/v2/package'
22-
MORYX_PACKAGE_TARGET_V3_FUTURE: 'https://www.myget.org/F/moryx-future/api/v3/index.json'
2319
MORYX_PACKAGE_TARGET_RELEASE: 'https://api.nuget.org/v3/index.json'
2420
MORYX_PACKAGE_TARGET_V3_RELEASE: 'https://api.nuget.org/v3/index.json'
2521

@@ -31,8 +27,8 @@ jobs:
3127
outputs:
3228
dotnet_sdk_version: ${{ env.dotnet_sdk_version }}
3329
REPOSITORY_NAME: ${{ env.REPOSITORY_NAME }}
34-
MORYX_PACKAGE_TARGET: ${{ env.MORYX_PACKAGE_TARGET_DEV }}
35-
MORYX_PACKAGE_TARGET_V3: ${{ env.MORYX_PACKAGE_TARGET_V3_DEV }}
30+
MORYX_PACKAGE_TARGET: ${{ env.MORYX_PACKAGE_TARGET_RELEASE }}
31+
MORYX_PACKAGE_TARGET_V3: ${{ env.MORYX_PACKAGE_TARGET_V3_RELEASE }}
3632

3733
Build:
3834
needs: [SetupEnvironment]
@@ -42,15 +38,15 @@ jobs:
4238
REPOSITORY_NAME: ${{ needs.SetupEnvironment.outputs.REPOSITORY_NAME }}
4339
SETUP_NODE: false
4440

45-
UnitTests:
46-
needs: [SetupEnvironment, Build]
47-
uses: moryx-industry/tools/.github/workflows/unittest-tool.yml@main
48-
with:
49-
dotnet_sdk_version: ${{ needs.SetupEnvironment.outputs.dotnet_sdk_version }}
50-
REPOSITORY_NAME: ${{ needs.SetupEnvironment.outputs.REPOSITORY_NAME }}
41+
# UnitTests:
42+
# needs: [SetupEnvironment, Build]
43+
# uses: moryx-industry/tools/.github/workflows/unittest-tool.yml@main
44+
# with:
45+
# dotnet_sdk_version: ${{ needs.SetupEnvironment.outputs.dotnet_sdk_version }}
46+
# REPOSITORY_NAME: ${{ needs.SetupEnvironment.outputs.REPOSITORY_NAME }}
5147

5248
Publish:
53-
needs: [SetupEnvironment, UnitTests]
49+
needs: [SetupEnvironment, Build]
5450
uses: moryx-industry/tools/.github/workflows/publish-tool.yml@main
5551
with:
5652
dotnet_sdk_version: ${{ needs.SetupEnvironment.outputs.dotnet_sdk_version }}

0 commit comments

Comments
 (0)