-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rearranging project layout and adding publish workflows * Fixes and adding icon * Removing azure pipelines
- Loading branch information
1 parent
615458c
commit 970cb3d
Showing
39 changed files
with
82 additions
and
99 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get the sources | ||
uses: actions/checkout@v1 | ||
- name: Run the build script | ||
uses: cake-build/cake-action@v1 | ||
with: | ||
script-path: build.cake | ||
target: Pack | ||
cake-bootstrap: true |
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,51 @@ | ||
name: Build, Pack & Publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- master # Default release branch | ||
jobs: | ||
publish: | ||
name: build, pack & publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get the sources | ||
uses: actions/checkout@v2 | ||
- name: Run the build script | ||
uses: cake-build/cake-action@v1 | ||
with: | ||
script-path: build.cake | ||
target: Pack | ||
cake-bootstrap: true | ||
- name: Publish on version change | ||
id: publish_nuget | ||
uses: bmresearch/publish-nuget@master | ||
with: | ||
PROJECT_FILE_PATH: Bonfidanet.Client/Bonfidanet.Client.csproj | ||
PACKAGE_NAME: Bonfidanet.Client | ||
VERSION_FILE_PATH: SharedBuildProperties.props | ||
VERSION_REGEX: ^\s*<Version>(.*)<\/Version>\s*$ | ||
TAG_FORMAT: v* | ||
NUGET_KEY: ${{secrets.NUGET_API_KEY}} | ||
INCLUDE_SYMBOLS: true | ||
- name: Build Changelog | ||
id: build_changelog | ||
uses: mikepenz/release-changelog-builder-action@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
- name: Create GitHub Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
with: | ||
tag_name: ${{ steps.publish_nuget.outputs.VERSION }} | ||
release_name: ${{ steps.publish_nuget.outputs.VERSION }} | ||
body: ${{ steps.build_changelog.outputs.changelog }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
- name: Upload release assets | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.ACCESS_TOKEN }} | ||
file: Bonfidanet.Client/bin/Release/net5.0/ref/Solnet.Serum.dll | ||
tag: ${{ steps.publish_nuget.outputs.VERSION }} | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} |
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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