Skip to content

Commit

Permalink
yml changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Haik committed Mar 19, 2024
1 parent 9f511b7 commit ef6d9cd
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 17 deletions.
3 changes: 1 addition & 2 deletions .github/Templates/All in one/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
- main

env:
DOTNET_VERSION: "8.x.x"
NEXUS_USERNAME: ${{ secrets.nexus_username }}
NEXUS_PASSWORD: ${{ secrets.nexus_password }}
NEXUS_SOURCE: "https://hubrepopanda.pandatech.it/repository/nuget-hosted/index.json"
Expand Down Expand Up @@ -44,7 +43,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
global-json-file: global.json

- name: Configure NuGet
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/Templates/Seperate production/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
- staging

env:
DOTNET_VERSION: "8.x.x"
NEXUS_USERNAME: ${{ secrets.nexus_username }}
NEXUS_PASSWORD: ${{ secrets.nexus_password }}
NUGET_ORG_SOURCE: "https://api.nuget.org/v3/index.json"
Expand Down Expand Up @@ -39,7 +38,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
global-json-file: global.json

- name: Configure NuGet
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/Templates/Seperate production/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main

env:
DOTNET_VERSION: "8.x.x"
NEXUS_USERNAME: ${{ secrets.nexus_username }}
NEXUS_PASSWORD: ${{ secrets.nexus_password }}
NUGET_ORG_SOURCE: "https://api.nuget.org/v3/index.json"
Expand All @@ -24,7 +23,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
global-json-file: global.json

- name: Configure NuGet
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/Templates/Seperate/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- development

env:
DOTNET_VERSION: "8.x.x"
NEXUS_USERNAME: ${{ secrets.nexus_username }}
NEXUS_PASSWORD: ${{ secrets.nexus_password }}
NEXUS_SOURCE: "https://hubrepopanda.pandatech.it/repository/nuget-hosted/index.json"
Expand All @@ -24,7 +23,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
global-json-file: global.json

- name: Configure NuGet
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/Templates/Seperate/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main

env:
DOTNET_VERSION: "8.x.x"
NEXUS_USERNAME: ${{ secrets.nexus_username }}
NEXUS_PASSWORD: ${{ secrets.nexus_password }}
NEXUS_SOURCE: "https://hubrepopanda.pandatech.it/repository/nuget-hosted/index.json"
Expand All @@ -24,7 +23,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
global-json-file: global.json

- name: Configure NuGet
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/Templates/Seperate/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- qa

env:
DOTNET_VERSION: "8.x.x"
NEXUS_USERNAME: ${{ secrets.nexus_username }}
NEXUS_PASSWORD: ${{ secrets.nexus_password }}
NUGET_ORG_SOURCE: "https://api.nuget.org/v3/index.json"
Expand All @@ -24,7 +23,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
global-json-file: global.json

- name: Configure NuGet
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/Templates/Seperate/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- staging

env:
DOTNET_VERSION: "8.x.x"
NEXUS_USERNAME: ${{ secrets.nexus_username }}
NEXUS_PASSWORD: ${{ secrets.nexus_password }}
NUGET_ORG_SOURCE: "https://api.nuget.org/v3/index.json"
Expand All @@ -24,7 +23,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
global-json-file: global.json

- name: Configure NuGet
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
- staging

env:
DOTNET_VERSION: "8.x.x"
NEXUS_USERNAME: ${{ secrets.nexus_username }}
NEXUS_PASSWORD: ${{ secrets.nexus_password }}
NEXUS_SOURCE: "https://hubrepopanda.pandatech.it/repository/nuget-hosted/index.json"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main

env:
DOTNET_VERSION: "8.x.x"
NEXUS_USERNAME: ${{ secrets.nexus_username }}
NEXUS_PASSWORD: ${{ secrets.nexus_password }}
NEXUS_SOURCE: "https://hubrepopanda.pandatech.it/repository/nuget-hosted/index.json"
Expand All @@ -24,7 +23,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
global-json-file: global.json

- name: Configure NuGet
run: |
Expand Down

0 comments on commit ef6d9cd

Please sign in to comment.