From acd3fc10aadd8814a707cff416fe10da84634b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20St=C3=BChmer?= Date: Thu, 4 Apr 2024 18:46:07 +0200 Subject: [PATCH] feat: Added releases for pipelines --- .github/workflows/cicd-dotnet.yml | 1 + ...dabot-merge.yml => local-dependamerge.yml} | 0 .github/workflows/local-release.yml | 23 +++++++++++++++++++ 3 files changed, 24 insertions(+) rename .github/workflows/{dependabot-merge.yml => local-dependamerge.yml} (100%) create mode 100644 .github/workflows/local-release.yml diff --git a/.github/workflows/cicd-dotnet.yml b/.github/workflows/cicd-dotnet.yml index 0b38bd4..64847b9 100644 --- a/.github/workflows/cicd-dotnet.yml +++ b/.github/workflows/cicd-dotnet.yml @@ -143,6 +143,7 @@ jobs: - version - build - codeql + - publish-nuget uses: ./.github/workflows/step-dotnet-draft-release.yml with: runs-on: ${{ inputs.runs-on-tests || 'ubuntu-latest' }} diff --git a/.github/workflows/dependabot-merge.yml b/.github/workflows/local-dependamerge.yml similarity index 100% rename from .github/workflows/dependabot-merge.yml rename to .github/workflows/local-dependamerge.yml diff --git a/.github/workflows/local-release.yml b/.github/workflows/local-release.yml new file mode 100644 index 0000000..2fa2b49 --- /dev/null +++ b/.github/workflows/local-release.yml @@ -0,0 +1,23 @@ +name: Create pipelines release + +on: + push: + branches: + - main + +jobs: + version: + name: Version + uses: ./.github/workflows/step-dotnet-version.yml + with: + dotnet-version: '8.x' + dotnet-quality: 'ga' + + release: + name: Release + needs: + - version + uses: ./.github/workflows/step-dotnet-draft-release.yml + with: + runs-on: 'ubuntu-latest' + solution-version: ${{ needs.version.outputs.solution-version }} \ No newline at end of file