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 62b619b + 8b6ec04 commit bf6ded3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 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 @@ -47,12 +55,15 @@ jobs:
export REPOSITORY_NAME=$(basename ${{ github.repository }})
wget "$SCRIPTS_BASE_URL/publish-release.sh"
bash ./publish-release.sh
pushCSharpNuGetToGitHubPackageRegistry:
needs: testAndDeploy
if: github.event_name == 'push'
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 bf6ded3

Please sign in to comment.