Skip to content

Commit 6f86ed1

Browse files
committed
Update example to use variables instead of hard coded repository name
1 parent f99ff8c commit 6f86ed1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/reference-example.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
Build:
4242
needs: [SetupEnvironment]
43-
uses: phoenixcontact/tools/.github/workflows/build-tool.yml@future
43+
uses: $GITHUB_REPOSITORY/.github/workflows/build-tool.yml@future
4444
with:
4545
dotnet_sdk_version: ${{ needs.SetupEnvironment.outputs.dotnet_sdk_version }}
4646
REPOSITORY_NAME: ${{ needs.SetupEnvironment.outputs.REPOSITORY_NAME }}
@@ -54,20 +54,20 @@ jobs:
5454

5555
IntegrationTests:
5656
needs: [SetupEnvironment, Build]
57-
uses: phoenixcontact/tools/.github/workflows/integrationtest-tool.yml@future
57+
uses: $GITHUB_REPOSITORY/.github/workflows/integrationtest-tool.yml@future
5858
with:
5959
dotnet_sdk_version: ${{ needs.SetupEnvironment.outputs.dotnet_sdk_version }}
6060
REPOSITORY_NAME: ${{ needs.SetupEnvironment.outputs.REPOSITORY_NAME }}
6161

6262
ReportGenerator:
6363
needs: [SetupEnvironment, UnitTests, IntegrationTests]
64-
uses: phoenixcontact/tools/.github/workflows/reportgenerator-tool.yml@future
64+
uses: $GITHUB_REPOSITORY/.github/workflows/reportgenerator-tool.yml@future
6565
with:
6666
REPOSITORY_NAME: ${{ needs.SetupEnvironment.outputs.REPOSITORY_NAME }}
6767

6868
Publish-Test-Coverage:
6969
needs: [SetupEnvironment, ReportGenerator]
70-
uses: phoenixcontact/tools/.github/workflows/publish-test-coverage-tool.yml@future
70+
uses: $GITHUB_REPOSITORY/.github/workflows/publish-test-coverage-tool.yml@future
7171
with:
7272
REPOSITORY_NAME: ${{ needs.SetupEnvironment.outputs.REPOSITORY_NAME }}
7373
secrets:
@@ -77,13 +77,13 @@ jobs:
7777

7878
Documentation:
7979
needs: [SetupEnvironment, UnitTests]
80-
uses: phoenixcontact/tools/.github/workflows/documentation-tool.yml@future
80+
uses: $GITHUB_REPOSITORY/.github/workflows/documentation-tool.yml@future
8181
with:
8282
REPOSITORY_NAME: ${{ needs.SetupEnvironment.outputs.REPOSITORY_NAME }}
8383

8484
Publish:
8585
needs: [SetupEnvironment, UnitTests]
86-
uses: phoenixcontact/tools/.github/workflows/publish-tool.yml@future
86+
uses: $GITHUB_REPOSITORY/.github/workflows/publish-tool.yml@future
8787
with:
8888
dotnet_sdk_version: ${{ needs.SetupEnvironment.outputs.dotnet_sdk_version }}
8989
REPOSITORY_NAME: ${{ needs.SetupEnvironment.outputs.REPOSITORY_NAME }}

0 commit comments

Comments
 (0)