Skip to content

Commit 45004dd

Browse files
committed
formatting change
1 parent e86d7b8 commit 45004dd

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/publish-dotnet-template.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,25 @@ name: Publish .NET Template
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66

77
jobs:
88
publish:
99
runs-on: ubuntu-latest
1010

1111
steps:
1212
- uses: actions/checkout@v3
13-
13+
1414
- uses: nuget/setup-nuget@v1
1515
with:
16-
nuget-version: '6.x'
16+
nuget-version: "6.x"
1717

1818
- name: Get version number
1919
id: version
2020
run: echo "::set-output name=version::$(date +'%Y.%m.%d').$GITHUB_RUN_NUMBER"
2121

2222
- name: Create package
2323
run: nuget pack DefaultCSharpRepoFiles.nuspec -NoDefaultExcludes -version ${{ steps.version.outputs.version }}
24-
24+
2525
- name: Publish package
26-
run: nuget push *.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}
27-
26+
run: nuget push *.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}

0 commit comments

Comments
 (0)