Merge pull request #60 from doomchild/dev #30
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
name: Publish Release | |
on: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
publish-release: | |
# ubuntu-latest provides many dependencies. | |
# See: https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout latest commit | |
uses: actions/checkout@v2 | |
- name: Install CICEE | |
run: dotnet tool install -g cicee || dotnet tool update -g cicee | |
- name: Execute publish script - Publish project artifacts | |
run: cicee exec -c ci/bin/publish.sh | |
env: | |
NUGET_API_KEY: ${{secrets.NUGET_API_KEY}} | |
NUGET_SOURCE: ${{secrets.NUGET_SOURCE}} | |
RELEASE_ENVIRONMENT: true |