Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Konard committed Feb 27, 2020
2 parents 2946472 + 6ebc62c commit 317386a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Test
run: dotnet test -c Release -f netcoreapp3.0
run: dotnet test -c Release -f netcoreapp3.1
- name: Generate PDF with CSharp code
if: github.event_name == 'push'
run: |
Expand All @@ -35,6 +37,12 @@ jobs:
wget "$SCRIPTS_BASE_URL/toc.yml"
wget "$SCRIPTS_BASE_URL/publish-csharp-docs.sh"
bash ./publish-csharp-docs.sh
- name: Read CSharp project information
if: github.event_name == 'push'
run: |
export REPOSITORY_NAME=$(basename ${{ github.repository }})
wget "$SCRIPTS_BASE_URL/read_csharp_package_info.sh"
bash ./read_csharp_package_info.sh
- name: Publish CSharp NuGet package
if: github.event_name == 'push'
run: |
Expand All @@ -54,6 +62,8 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
- uses: warrenbuckley/Setup-Nuget@v1
- name: Publish CSharp NuGet to GitHub Package Registry
run: |
Expand Down

0 comments on commit 317386a

Please sign in to comment.