Skip to content

Commit

Permalink
Moving to new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras-Csanyi committed Apr 27, 2024
1 parent 65ad56d commit 05dcf94
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 245 deletions.
14 changes: 1 addition & 13 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,6 @@
version: 2
updates:
- package-ecosystem: "nuget"
directory: "/src/dotnet/BusinessLogic"
schedule:
interval: "daily"
- package-ecosystem: "nuget"
directory: "/src/dotnet/Infrastructure.Graphql"
schedule:
interval: "daily"
- package-ecosystem: "nuget"
directory: "/src/dotnet/Infrastructure.Graphql.Host"
schedule:
interval: "daily"
- package-ecosystem: "nuget"
directory: "/src/dotnet/Tools"
directory: /
schedule:
interval: "daily"
45 changes: 0 additions & 45 deletions .github/workflows/doc_feature_branch.yaml

This file was deleted.

61 changes: 0 additions & 61 deletions .github/workflows/doc_main_branch.yaml

This file was deleted.

64 changes: 3 additions & 61 deletions .github/workflows/feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,70 +35,12 @@ jobs:

- name: Restore
run: |
dotnet restore src/EG.Common/EG.Common.sln
dotnet restore Common.sln
- name: Build
run: |
dotnet build --configuration Debug src/EG.Common/EG.Common.sln
dotnet build --configuration Debug Common.sln
- name: Test
run: |
dotnet test --no-restore --verbosity normal src/EG.Common/EG.Common.sln
backend:
name: EG.Backend
runs-on: ubuntu-latest
needs: debug

steps:
- uses: actions/checkout@v3

- name: Setting up Dotnet with ${{ vars.DOTNET_VERSION }} version
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ vars.DOTNET_VERSION }}

- name: EG Nuget repo
run: |
dotnet nuget add source --username Andras-Csanyi --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/EncyclopediaGalactica/index.json"
- name: Restore
run: |
dotnet restore src/EG.Backend/EG.Backend.sln
- name: Build
run: |
dotnet build --configuration Debug src/EG.Backend/EG.Backend.sln
- name: Test
run: |
dotnet test --no-restore --verbosity normal src/EG.Backend/EG.Backend.sln
frontend:
name: EG.Frontend
runs-on: ubuntu-latest
needs: debug

steps:
- uses: actions/checkout@v3

- name: Setting up Dotnet with ${{ vars.DOTNET_VERSION }} version
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ vars.DOTNET_VERSION }}

- name: EG Nuget repo
run: |
dotnet nuget add source --username Andras-Csanyi --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/EncyclopediaGalactica/index.json"
- name: Restore
run: |
dotnet restore src/EG.FrontEnd/EG.FrontEnd.sln
- name: Build
run: |
dotnet build --configuration Debug src/EG.FrontEnd/EG.FrontEnd.sln
- name: Test
run: |
dotnet test --no-restore --verbosity normal src/EG.FrontEnd/EG.FrontEnd.sln
dotnet test --no-restore --verbosity normal Common.sln
68 changes: 3 additions & 65 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,81 +35,20 @@ jobs:

- name: Restore
run: |
dotnet restore src/EG.Common/EG.Common.sln
dotnet restore Common.sln
- name: Build
run: |
dotnet build --configuration Release src/EG.Common/EG.Common.sln
dotnet build --configuration Release Common.sln
- name: Test
run: |
dotnet test --no-restore --verbosity normal src/EG.Common/EG.Common.sln
backend:
name: EG.Backend
runs-on: ubuntu-latest
needs: debug

steps:
- uses: actions/checkout@v3

- name: Setting up Dotnet with ${{ vars.DOTNET_VERSION }} version
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ vars.DOTNET_VERSION }}

- name: EG Nuget repo
run: |
dotnet nuget add source --username Andras-Csanyi --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/EncyclopediaGalactica/index.json"
- name: Restore
run: |
dotnet restore src/EG.Backend/EG.Backend.sln
- name: Build
run: |
dotnet build --configuration Release src/EG.Backend/EG.Backend.sln
dotnet test --no-restore --verbosity normal Common.sln
- name: Test
run: |
dotnet test --no-restore --verbosity normal src/EG.Backend/EG.Backend.sln
frontend:
name: EG.Frontend
runs-on: ubuntu-latest
needs: debug

steps:
- uses: actions/checkout@v3

- name: Setting up Dotnet with ${{ vars.DOTNET_VERSION }} version
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ vars.DOTNET_VERSION }}

- name: EG Nuget repo
run: |
dotnet nuget add source --username Andras-Csanyi --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/EncyclopediaGalactica/index.json"
- name: Restore
run: |
dotnet restore src/EG.FrontEnd/EG.FrontEnd.sln
- name: Build
run: |
dotnet build --configuration Release src/EG.FrontEnd/EG.FrontEnd.sln
- name: Test
run: |
dotnet test --no-restore --verbosity normal src/EG.FrontEnd/EG.FrontEnd.sln
semantic_versioning:
name: Semantic Versioning
runs-on: ubuntu-latest
needs:
- debug
- backend
- frontend
- commons
environment:
name: github-pages
Expand Down Expand Up @@ -187,4 +126,3 @@ jobs:
run: |
dotnet nuget add source --username Andras-Csanyi --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/EncyclopediaGalactica/index.json"
dotnet nuget push "/home/runner/work/EncyclopediaGalactica/EncyclopediaGalactica/src/EG.Common/BusinessLogic.Contracts/bin/Release/EncyclopediaGalactica.BusinessLogic.Contracts.${{ env.EGVERSION }}.nupkg" --source "github" --api-key ${{ secrets.TOKEN_PUBLISH_NUGET }} --skip-duplicate
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 05dcf94

Please sign in to comment.