Skip to content

Commit

Permalink
Merge pull request #133 from KinsonDigital/preview/v1.0.0-preview.4
Browse files Browse the repository at this point in the history
🚀Preview Release
  • Loading branch information
KinsonDigitalAdmin authored Mar 17, 2023
2 parents 2c5e286 + df7ef29 commit 1b09bab
Show file tree
Hide file tree
Showing 27 changed files with 265 additions and 954 deletions.
12 changes: 0 additions & 12 deletions .config/dotnet-tools.json

This file was deleted.

20 changes: 0 additions & 20 deletions .github/dependabot.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/build-pr-status-check.yml

This file was deleted.

64 changes: 64 additions & 0 deletions .github/workflows/build-status-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: ✅Build Status Check


env:
NET_SDK_VERSION: 7.0.101

on:
workflow_dispatch:
pull_request:
branches:
- develop
- master
- release/v*.*.*
- preview/v*.*.*-preview.*


jobs:
determine_build_config:
name: Determine Build Configuration
runs-on: ubuntu-latest
outputs:
build-config: ${{ steps.get-build-config.outputs.build-config }}
steps:
- name: Get Build Config
id: get-build-config
shell: pwsh
run: |
# If the destination branch that the pull request is merging into is the master, do a release build
if ( "${{ github.base_ref }}" -eq "master") {
"build-config=Release" >> $env:GITHUB_OUTPUT;
} else { # Any other branch than master, do a debug build
"build-config=Debug" >> $env:GITHUB_OUTPUT;
}
get_sdk_version:
name: Get SDK Version
runs-on: ubuntu-latest
outputs:
sdk-version: ${{ steps.get-sdk-version.outputs.sdk-version }}
steps:
- name: Get SDK Version From Environment Variable
id: get-sdk-version
shell: pwsh
run: |
"sdk-version=${{ env.NET_SDK_VERSION }}" >> $env.GITHUB_OUTPUT;
# Build Main Projects
build_project:
name: Build Project
needs: [determine_build_config, get_sdk_version]
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected]
with:
project-name: "VersionMiner"
build-config: ${{ needs.determine_build_config.outputs.build-config }}
net-sdk-version: ${{ needs.get_sdk_version.outputs.sdk-version }}

build_tests_project:
name: Build Tests Project
needs: [determine_build_config, get_sdk_version]
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected]
with:
project-name: "VersionMinerTests"
build-config: ${{ needs.determine_build_config.outputs.build-config }}
net-sdk-version: ${{ needs.get_sdk_version.outputs.sdk-version }}
35 changes: 0 additions & 35 deletions .github/workflows/feature-pr-status-check.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/hotfix-pr-status-check.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/prev-feature-pr-status-check.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/prev-release-pr-status-check.yml

This file was deleted.

97 changes: 0 additions & 97 deletions .github/workflows/prev-release.yml

This file was deleted.

Loading

0 comments on commit 1b09bab

Please sign in to comment.