-
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.
- Loading branch information
1 parent
81337db
commit a467820
Showing
370 changed files
with
13,397 additions
and
656 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 |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
Run-Lint: | ||
runs-on: ubuntu-latest | ||
env: | ||
github-token: '${{ secrets.GITHUB_TOKEN }}' | ||
github-token: '${{ secrets.GH_Packages }}' | ||
steps: | ||
- name: Step-01 Checkout code | ||
uses: actions/checkout@v3 | ||
|
@@ -30,7 +30,7 @@ jobs: | |
beta_Version: ${{ steps.gitversion.outputs.nuGetVersion }} | ||
branchName: ${{ steps.gitversion.outputs.branchName }} | ||
env: | ||
working-directory: /home/runner/work/Schemio/Schemio | ||
working-directory: /home/runner/work/Motley/Motley | ||
|
||
steps: | ||
- name: Step-01 Install GitVersion | ||
|
@@ -85,9 +85,9 @@ jobs: | |
outputs: | ||
semVersion: ${{ needs.Build-Release.outputs.semVersion }} | ||
env: | ||
github-token: '${{ secrets.GITHUB_TOKEN }}' | ||
github-token: '${{ secrets.GH_Packages }}' | ||
nuget-token: '${{ secrets.NUGET_API_KEY }}' | ||
working-directory: /home/runner/work/Schemio/Schemio | ||
working-directory: /home/runner/work/Motley/Motley | ||
steps: | ||
- name: Step-01 Retrieve Build Artifacts | ||
uses: actions/download-artifact@v3 | ||
|
@@ -100,16 +100,16 @@ jobs: | |
|
||
- name: Step-03 Publish to Github Packages | ||
run: find -name "*.nupkg" -print -exec gpr push -k ${{env.github-token}} {} \; | ||
|
||
- name: Step-03 Release to Nuget Org | ||
if: ${{ startsWith(github.head_ref, 'release/')}} | ||
run: dotnet nuget push ${{env.working-directory}}/src/Schemio/bin/Release/*.nupkg --skip-duplicate --api-key ${{ env.nuget-token }} --source https://api.nuget.org/v3/index.json | ||
|
||
Release: | ||
name: Release to Nuget | ||
needs: [Package] | ||
if: ${{ startsWith(github.head_ref, 'release/')}} | ||
runs-on: ubuntu-latest | ||
env: | ||
github-token: '${{ secrets.GH_Packages }}' | ||
nuget-token: '${{ secrets.NUGET_API_KEY }}' | ||
working-directory: /home/runner/work/Motley/Motley | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
|
@@ -119,15 +119,15 @@ jobs: | |
# dotnet-version: '6.0.x' | ||
|
||
# Publish | ||
- name: publish Schemio package | ||
- name: publish Motley package | ||
id: publish_nuget | ||
uses: Rebel028/[email protected] | ||
with: | ||
# Filepath of the project to be packaged, relative to root of repository | ||
PROJECT_FILE_PATH: Schemio/Schemio.csproj | ||
PROJECT_FILE_PATH: Motley/Motley.csproj | ||
|
||
# NuGet package id, used for version detection & defaults to project name | ||
PACKAGE_NAME: Schemio | ||
PACKAGE_NAME: Motley | ||
|
||
# Filepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATH | ||
# VERSION_FILE_PATH: Directory.Build.props | ||
|
@@ -145,10 +145,10 @@ jobs: | |
# TAG_FORMAT: v* | ||
|
||
# API key to authenticate with NuGet server, or a token, issued for GITHUB_USER if you use GPR | ||
# NUGET_KEY: ${{secrets.NUGET_API_KEY}} | ||
NUGET_KEY: ${{secrets.NUGET_API_KEY}} | ||
|
||
# NuGet server uri hosting the packages, defaults to https://api.nuget.org | ||
# NUGET_SOURCE: https://api.nuget.org | ||
NUGET_SOURCE: https://api.nuget.org/v3/index.json | ||
|
||
# Flag to toggle pushing symbols along with nuget package to the server, disabled by default | ||
# INCLUDE_SYMBOLS: false | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
next-version: 1.0.0 | ||
next-version: 2.0.0 | ||
tag-prefix: '[vV]' | ||
mode: ContinuousDeployment | ||
branches: | ||
|
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 Code Shayk | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Oops, something went wrong.