Skip to content

Commit

Permalink
Merge pull request #4 from LyleDavis/fix_actions
Browse files Browse the repository at this point in the history
fix actions (hopefully)
  • Loading branch information
LyleDavis committed Oct 13, 2020
2 parents 5466611 + 7c6cc39 commit d2b52ad
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/cd.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,18 @@ jobs:
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
nuget_push:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: Publish on version change
id: publish_nuget
uses: rohith/publish-nuget@v2
with:
PROJECT_FILE_PATH: src/Chainz/Chainz.csproj
PACKAGE_NAME: Chainz
TAG_COMMIT: true
TAG_FORMAT: v*
NUGET_KEY: ${{secrets.CHAINZ_CD_PUSH}}

0 comments on commit d2b52ad

Please sign in to comment.