Skip to content

Commit

Permalink
chore: attempt to add release-please action to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
codito authored Oct 10, 2024
1 parent ec8cb2a commit d889ab5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
pull_request:
branches: [master]

# Required by release-please action
permissions:
contents: write
pull-requests: write

jobs:
build:
strategy:
Expand Down Expand Up @@ -59,3 +64,11 @@ jobs:
dotnet nuget push 'src/Xunit.Xml.Package/bin/Release/*.nupkg' --api-key ${{ secrets.SPEKT_MYGET_KEY }} --source https://www.myget.org/F/spekt/api/v3/index.json
dotnet nuget push 'src/NUnit.Xml.Package/bin/Release/*.nupkg' --api-key ${{ secrets.SPEKT_MYGET_KEY }} --source https://www.myget.org/F/spekt/api/v3/index.json
dotnet nuget push 'src/JUnit.Xml.Package/bin/Release/*.nupkg' --api-key ${{ secrets.SPEKT_MYGET_KEY }} --source https://www.myget.org/F/spekt/api/v3/index.json
- uses: google-github-actions/release-please-action@v3
- name: Create release
if: ${{ github.event_name == 'push' && matrix.os == 'ubuntu-latest' }}
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: simple
package-name: testlogger

0 comments on commit d889ab5

Please sign in to comment.