Skip to content

Commit 3c2013d

Browse files
authored
Test from PR 6 (#1314)
* Empty commit ...1 * Empty commit ...2 * Empty commit ...3 * fix
1 parent e0387cd commit 3c2013d

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/dotnet.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ jobs:
128128
shell: pwsh
129129
env:
130130
# This contains the git tag name on release; in that case we build the docs without publishing.
131-
DOCFX_SOURCE_BRANCH_NAME: ${{ github.base_ref || github.ref_name }}
131+
#DOCFX_SOURCE_BRANCH_NAME: ${{ github.base_ref || github.ref_name }}
132+
DOCFX_SOURCE_BRANCH_NAME: 'master'
132133
run: |
133134
Write-Host "Using docfx branch name: $env:DOCFX_SOURCE_BRANCH_NAME"
134135
cd docs
@@ -253,16 +254,17 @@ jobs:
253254
steps:
254255
- name: Download artifacts
255256
uses: actions/download-artifact@v3
256-
- name: Publish to GitHub Packages
257-
env:
258-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
259-
shell: pwsh
260-
run: |
261-
dotnet nuget add source --username 'json-api-dotnet' --password "$env:GITHUB_TOKEN" --store-password-in-clear-text --name 'github' 'https://nuget.pkg.github.com/json-api-dotnet/index.json'
262-
dotnet nuget push "$env:GITHUB_WORKSPACE/packages/*.nupkg" --api-key "$env:GITHUB_TOKEN" --source 'github'
257+
# - name: Publish to GitHub Packages
258+
# env:
259+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
260+
# shell: pwsh
261+
# run: |
262+
# dotnet nuget add source --username 'json-api-dotnet' --password "$env:GITHUB_TOKEN" --store-password-in-clear-text --name 'github' 'https://nuget.pkg.github.com/json-api-dotnet/index.json'
263+
# dotnet nuget push "$env:GITHUB_WORKSPACE/packages/*.nupkg" --api-key "$env:GITHUB_TOKEN" --source 'github'
263264
- name: Find merged pull request
264-
uses: actions-ecosystem/action-get-merged-pull-request@v1
265265
id: find_merged_pull_request
266+
#if: github.event_name == 'push' && github.ref == 'refs/heads/master'
267+
uses: actions-ecosystem/action-get-merged-pull-request@v1
266268
with:
267269
github_token: ${{ secrets.GITHUB_TOKEN }}
268270
# TODO: Remove test

0 commit comments

Comments
 (0)