Skip to content

Commit d889ab5

Browse files
authored
chore: attempt to add release-please action to CI
1 parent ec8cb2a commit d889ab5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
pull_request:
77
branches: [master]
88

9+
# Required by release-please action
10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
914
jobs:
1015
build:
1116
strategy:
@@ -59,3 +64,11 @@ jobs:
5964
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
6065
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
6166
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
67+
- uses: google-github-actions/release-please-action@v3
68+
- name: Create release
69+
if: ${{ github.event_name == 'push' && matrix.os == 'ubuntu-latest' }}
70+
id: release
71+
with:
72+
token: ${{ secrets.GITHUB_TOKEN }}
73+
release-type: simple
74+
package-name: testlogger

0 commit comments

Comments
 (0)