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 7ac142f commit f2d7445
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0

- name: Install .NET 6.0
Expand All @@ -25,6 +26,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 f2d7445

Please sign in to comment.