Skip to content

Commit d797c9a

Browse files
change to use slnx solution files
1 parent e52d278 commit d797c9a

12 files changed

Lines changed: 60 additions & 12 deletions

.github/workflows/azure-dev.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Run when commits are pushed to 254-sharedtestenvironment
2+
on:
3+
workflow_dispatch:
4+
push:
5+
# Run when commits are pushed to mainline branch (main or master)
6+
# Set this to the mainline branch you are using
7+
branches:
8+
- 254-sharedtestenvironment
9+
10+
# Set up permissions for deploying with secretless Azure federated credentials
11+
# https://learn.microsoft.com/en-us/azure/developer/github/connect-from-azure?tabs=azure-portal%2Clinux#set-up-azure-login-with-openid-connect-authentication
12+
permissions:
13+
id-token: write
14+
contents: read
15+
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
env:
21+
AZURE_CLIENT_ID: ${{ vars.AZURE_CLIENT_ID }}
22+
AZURE_TENANT_ID: ${{ vars.AZURE_TENANT_ID }}
23+
AZURE_SUBSCRIPTION_ID: ${{ vars.AZURE_SUBSCRIPTION_ID }}
24+
AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }}
25+
AZURE_LOCATION: ${{ vars.AZURE_LOCATION }}
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
- name: Install azd
30+
uses: Azure/setup-azd@v1.0.0
31+
- name: Install .NET Aspire workload
32+
run: dotnet workload install aspire
33+
34+
- name: Log in with Azure (Federated Credentials)
35+
run: |
36+
azd auth login `
37+
--client-id "$Env:AZURE_CLIENT_ID" `
38+
--federated-credential-provider "github" `
39+
--tenant-id "$Env:AZURE_TENANT_ID"
40+
shell: pwsh
41+
42+
43+
- name: Provision Infrastructure
44+
run: azd provision --no-prompt
45+
env:
46+
AZD_INITIAL_ENVIRONMENT_CONFIG: ${{ secrets.AZD_INITIAL_ENVIRONMENT_CONFIG }}
47+
48+
- name: Deploy Application
49+
run: azd deploy --no-prompt

.github/workflows/codebreaker-lib-analyzers-stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
env:
12-
solutionfile-path: src/Codebreaker.Analyzers.sln
12+
solutionfile-path: src/Codebreaker.Analyzers.slnx
1313
projectfile-path: src/services/common/Codebreaker.GameAPIs.Analyzers/Codebreaker.Analyzers.csproj
1414
artifact-name: codebreaker-analyzers-stable
1515

.github/workflows/codebreaker-lib-analyzers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
paths:
1010
- 'src/services/common/Codebreaker.GameAPIs.Analyzers/**'
1111
- 'src/services/common/Codebreaker.GameAPIs.Analyzers.Tests/**'
12-
- 'src/Codebreaker.Analyzers.sln'
12+
- 'src/Codebreaker.Analyzers.slnx'
1313

1414
# Allow manually trigger
1515
workflow_dispatch:

.github/workflows/codebreaker-lib-backendmodels-stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
env:
12-
solutionfile-path: src/Codebreaker.Backend.Models.sln
12+
solutionfile-path: src/Codebreaker.Backend.Models.slnx
1313
projectfile-path: src/services/common/Codebreaker.GameAPIs.Models/Codebreaker.GameAPIs.Models.csproj
1414
artifact-name: codebreaker-backendmodels-stable
1515

.github/workflows/codebreaker-lib-backendmodels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
[ main ]
99
paths:
1010
- 'src/services/common/Codebreaker.GameAPIs.Models/**'
11-
- 'src/Codebreaker.Backend.Models.sln'
11+
- 'src/Codebreaker.Backend.Models.slnx'
1212

1313
# Allow manually trigger
1414
workflow_dispatch:

.github/workflows/codebreaker-lib-client-stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
env:
12-
solutionfile-path: src/Codebreaker.GameAPIs.Client.sln
12+
solutionfile-path: src/Codebreaker.GameAPIs.Client.slnx
1313
projectfile-path: src/clients/Codebreaker.GameAPIs.Client/Codebreaker.GameAPIs.Client.csproj
1414
artifact-name: codebreaker-client-stable
1515

.github/workflows/codebreaker-lib-client.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
paths:
1010
- 'src/clients/Codebreaker.GameAPIs.Client/**'
1111
- 'src/clients/Codebreaker.GameAPIs.Client.Tests/**'
12-
- 'src/Codebreaker.GameAPIs.Client.sln'
12+
- 'src/Codebreaker.GameAPIs.Client.slnx'
1313

1414
# Allow manually trigger
1515
workflow_dispatch:

.github/workflows/codebreaker-lib-cosmos-stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
env:
12-
solutionfile-path: src/Codebreaker.Backend.Cosmos.sln
12+
solutionfile-path: src/Codebreaker.Backend.Cosmos.slnx
1313
projectfile-path: src/services/common/Codebreaker.Data.Cosmos/Codebreaker.Data.Cosmos.csproj
1414
artifact-name: codebreaker-cosmos-stable
1515

.github/workflows/codebreaker-lib-cosmos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
[ main ]
99
paths:
1010
- 'src/services/common/Codebreaker.Data.Cosmos/**'
11-
- 'src/Codebreaker.Backend.Cosmos.sln'
11+
- 'src/Codebreaker.Backend.Cosmos.slnx'
1212

1313
# Allow manually trigger
1414
workflow_dispatch:

.github/workflows/codebreaker-lib-postgresql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
version-suffix: preview.1.
2020
version-number: ${{ github.run_number }}
2121
version-offset: 5
22-
solutionfile-path: src/Codebreaker.Backend.Postgres.sln
22+
solutionfile-path: src/Codebreaker.Backend.Postgres.slnx
2323
projectfile-path: src/services/common/Codebreaker.Data.Postgres/Codebreaker.Data.Postgres.csproj
2424
dotnet-version: '9.0.x'
2525
artifact-name: codebreaker-postgres

0 commit comments

Comments
 (0)