Skip to content

Commit

Permalink
Create publish-snapshot.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
warriordog authored Dec 13, 2023
1 parent fba1a69 commit ab0e467
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: .NET

# ONLY push, not PRs.
# ONLY main, not release branch.
on:
push:
branches: [ "main" ]

jobs:
publish-snapshot:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '0.7.x'
- name: Publish Snapshot to NuGet
env:
NugetKey: ${{ secrets.NugetKey }}
shell: pwsh
run: ./Tool/Publish-Solution.ps1 -Snapshot -NugetKey "$env:NugetKey"

0 comments on commit ab0e467

Please sign in to comment.