-
-
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 #133 from KinsonDigital/preview/v1.0.0-preview.4
🚀Preview Release
- Loading branch information
Showing
27 changed files
with
265 additions
and
954 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,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 }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.