Skip to content

Commit

Permalink
Merge branch 'main' of github.com:morincer/markdig.docx
Browse files Browse the repository at this point in the history
  • Loading branch information
morincer committed Feb 15, 2022
2 parents 985bc5c + aae1ed8 commit 40ae13d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'img/**'
- 'changelog.md'
- 'readme.md'
- '.github'
- '.github/**'

pull_request:
branches: [ main ]
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@ jobs:
- name: Restore dependencies
run: dotnet restore ./src
- name: Build
run: dotnet build ./src --no-restore
run: dotnet build ./src --no-restore --configuration Release
- name: Test
run: dotnet test ./src --no-build --verbosity normal
run: dotnet test ./src --no-build --verbosity normal --configuration Release
# - name: Create the package
# run: dotnet pack ./src --configuration Release
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Publish the package to nuget.org
run: dotnet nuget push ./src/*/bin/Release/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
run: dotnet nuget push src/Markdig.Renderers.Docx/bin/Release/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }}

0 comments on commit 40ae13d

Please sign in to comment.