Generator Changes at 9/27/2025 8:46:36 AM

This commit is contained in:
generator
2025-09-27 08:46:36 +03:30
parent fd82e3edcf
commit fd8614f72e
261 changed files with 6333 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
name: Push nuget and docker image Actions Workflow
on:
push:
branches:
- stage
jobs:
Deploy:
runs-on: windows
steps:
- name: Checkout
uses: https://git.afrino.co/actions/checkout@v3
- name: Setup dotnet
uses: https://git.afrino.co/actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Remove Package Source
run: dotnet nuget remove source MegaBizdEx
continue-on-error: true
- name: Add Package Source
run: dotnet nuget add source --name MegaBizdEx --username systemuser --password BHMkDaU3uXP6euR http://88.198.47.16:7000/api/packages/MegaBizdEx/nuget/index.json --store-password-in-clear-text
- name: Install dependencies
run: dotnet restore ".\src\CMSMicroservice.Protobuf\CMSMicroservice.Protobuf.csproj"
- name: Build
run: dotnet build ".\src\CMSMicroservice.Protobuf\CMSMicroservice.Protobuf.csproj" --configuration Release --no-restore
- name: Test
run: dotnet test ".\src\CMSMicroservice.Protobuf\CMSMicroservice.Protobuf.csproj" --no-restore --verbosity normal
- name: Pack
run: dotnet pack ".\src\CMSMicroservice.Protobuf\CMSMicroservice.Protobuf.csproj" --no-build --configuration Release
- name: Push To Gitea Packages
run: dotnet nuget push **/*.nupkg --source http://88.198.47.16:7000/api/packages/megabizdex/nuget/index.json --api-key 49c6424b31442f3aaad8d5ce73401143264f8471 --skip-duplicate
- name: Build Docker Image
run: docker build ./src -t cmsapi:latest -f src/CMSMicroservice.WebApi/Dockerfile
- name: Log Out From Registry
run: docker logout git.afrino.co
- name: Log In To Registry
run: docker login git.afrino.co -u systemuser -p sZSA7PTiv3pUSQZ
- name: Tag Docker Image
run: docker image tag cmsapi:latest git.afrino.co/megabizdex/cmsapi:latest
- name: Push Docker Image
run: docker image push git.afrino.co/megabizdex/cmsapi:latest
- name: Deploy (Up) Services
run: docker-compose up -d