Skip to content

Commit d4b6c2f

Browse files
committed
Allow github push to fail while pushing to nuget
1 parent 4f839ed commit d4b6c2f

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,20 +57,20 @@ jobs:
5757
version: ${{ github.event.inputs.force_version || steps.stable-version.outputs.version || steps.pre-version.outputs.version }}
5858

5959
# Check formatting
60-
# format:
61-
# runs-on: ubuntu-latest
62-
# permissions:
63-
# contents: read
60+
# format:
61+
# runs-on: ubuntu-latest
62+
# permissions:
63+
# contents: read
6464

65-
# steps:
66-
# - name: Checkout
67-
# uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
65+
# steps:
66+
# - name: Checkout
67+
# uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
6868

69-
# - name: Install .NET
70-
# uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3
69+
# - name: Install .NET
70+
# uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3
7171

72-
# - name: Validate format
73-
# run: dotnet format --verify-no-changes
72+
# - name: Validate format
73+
# run: dotnet format --verify-no-changes
7474

7575
# Run tests
7676
test:
@@ -94,7 +94,7 @@ jobs:
9494
- name: Install .NET
9595
uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0
9696
with:
97-
dotnet-version: '8.0.x'
97+
dotnet-version: "8.0.x"
9898

9999
- name: Run restore
100100
run: dotnet restore
@@ -131,7 +131,7 @@ jobs:
131131
- name: Install .NET
132132
uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0
133133
with:
134-
dotnet-version: '8.0.x'
134+
dotnet-version: "8.0.x"
135135

136136
- name: Run restore
137137
run: dotnet restore
@@ -164,7 +164,7 @@ jobs:
164164
needs:
165165
# Technically, it's not required for the format job to succeed for us to push the package,
166166
# so we may consider removing it as a prerequisite here.
167-
# - format
167+
# - format
168168
- test
169169
- pack
170170

@@ -182,12 +182,13 @@ jobs:
182182
- name: Install .NET
183183
uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0
184184
with:
185-
dotnet-version: '8.0.x'
185+
dotnet-version: "8.0.x"
186186

187187
# Publish to GitHub package registry every time, whether it's a prerelease
188188
# version or a stable release version.
189189
- name: Publish packages (GitHub Registry)
190190
if: github.event_name != 'pull_request'
191+
continue-on-error: true
191192
run: >
192193
dotnet nuget push **/*.nupkg
193194
--source https://nuget.pkg.github.com/passwordless-lib/index.json

0 commit comments

Comments
 (0)