Skip to content

Commit

Permalink
fix actions (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
LyleDavis committed Oct 13, 2020
1 parent 5466611 commit 7c6cc39
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 7c6cc39

Please sign in to comment.