Skip to content

Commit

Permalink
Use bash with dotnet-releaser in GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx committed Mar 1, 2022
1 parent 6423f40 commit 5bbff10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/managed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0

- name: Install .NET 6.0
Expand All @@ -26,6 +27,7 @@ jobs:
dotnet-version: '6.0.x'

- name: Build, Test, Pack, Publish
shell: bash
run: |
dotnet tool install -g dotnet-releaser
dotnet-releaser run --nuget-token "${{secrets.NUGET_TOKEN != '' && secrets.NUGET_TOKEN || 'no_token'}}" --github-token "${{secrets.GITHUB_TOKEN}}" src/dotnet-releaser.toml
dotnet-releaser run --nuget-token "${{secrets.NUGET_TOKEN}}" --github-token "${{secrets.GITHUB_TOKEN}}" src/dotnet-releaser.toml

0 comments on commit 5bbff10

Please sign in to comment.