Skip to content

Commit

Permalink
formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
GordonBeeming committed Jan 16, 2025
1 parent e86d7b8 commit 45004dd
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish-dotnet-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,25 @@ name: Publish .NET Template

on:
push:
branches: [ "main" ]
branches: ["main"]

jobs:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: nuget/setup-nuget@v1
with:
nuget-version: '6.x'
nuget-version: "6.x"

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

- name: Create package
run: nuget pack DefaultCSharpRepoFiles.nuspec -NoDefaultExcludes -version ${{ steps.version.outputs.version }}

- name: Publish package
run: nuget push *.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}

run: nuget push *.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}

0 comments on commit 45004dd

Please sign in to comment.