-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #184 from CodebreakerApp/179-cleanup_libs
179 cleanup libs
- Loading branch information
Showing
7 changed files
with
118 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Cosmos stable lib | ||
|
||
on: | ||
|
||
# Allow manually trigger | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
solutionfile-path: src/Codebreaker.Backend.Cosmos.sln | ||
projectfile-path: src/services/gameapi/Codebreaker.Data.Cosmos/Codebreaker.Data.Cosmos.csproj | ||
artifact-name: codebreaker-cosmos-stable | ||
|
||
steps: | ||
- name: Checkout to the branch | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Build the library | ||
run: dotnet build -c Release ${{ env.solutionfile-path }} | ||
|
||
- name: Run the unit tests | ||
run: dotnet test ${{ env.solutionfile-path }} | ||
|
||
- name: Create a Package | ||
run: dotnet pack -c Release ${{ env.projectfile-path }} -o packages | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ env.artifact-name }} | ||
path: packages/* | ||
retention-days: 30 | ||
|
||
publishdevops: | ||
uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/publishnuget-azuredevops.yml@main | ||
needs: build | ||
with: | ||
artifact-name: codebreaker-cosmos-stable | ||
secrets: inherit | ||
|
||
publishnuget: | ||
uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/publishnuget-nugetserver.yml@main | ||
needs: publishdevops | ||
with: | ||
artifact-name: codebreaker-cosmos-stable | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: SqlServer stable lib | ||
|
||
on: | ||
|
||
# Allow manually trigger | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
solutionfile-path: src/Codebreaker.Backend.SqlServer.sln | ||
projectfile-path: src/services/gameapi/Codebreaker.Data.SqlServer/Codebreaker.Data.SqlServer.csproj | ||
artifact-name: codebreaker-sqlserver-stable | ||
|
||
steps: | ||
- name: Checkout to the branch | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Build the library | ||
run: dotnet build -c Release ${{ env.solutionfile-path }} | ||
|
||
- name: Run the unit tests | ||
run: dotnet test ${{ env.solutionfile-path }} | ||
|
||
- name: Create a Package | ||
run: dotnet pack -c Release ${{ env.projectfile-path }} -o packages | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ env.artifact-name }} | ||
path: packages/* | ||
retention-days: 30 | ||
|
||
publishdevops: | ||
uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/publishnuget-azuredevops.yml@main | ||
needs: build | ||
with: | ||
artifact-name: codebreaker-sqlserver-stable | ||
secrets: inherit | ||
|
||
publishnuget: | ||
uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/publishnuget-nugetserver.yml@main | ||
needs: publishdevops | ||
with: | ||
artifact-name: codebreaker-sqlserver-stable | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.