Skip to content

Commit

Permalink
[nuget-skip] Updated CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaoticz committed May 16, 2024
1 parent cdb70e0 commit 507ac23
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
run: dotnet build --no-restore -c Release
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test --no-build --verbosity normal -c Release

linux_build:

Expand All @@ -51,9 +51,9 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
run: dotnet build --no-restore -c Release
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test --no-build --verbosity normal -c Release

osx_build:

Expand All @@ -75,6 +75,6 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
run: dotnet build --no-restore -c Release
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test --no-build --verbosity normal -c Release
2 changes: 1 addition & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: "dotnet nuget push \"build/*\" -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json"

- name: "Upload Nuget Packages To Github Release"
uses: "ncipollo/release-action@v1"
uses: "ncipollo/release-action@v1.14.0"
with:
allowUpdates: true
artifactErrorsFailBuild: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public sealed class HasWritePermissionAtTests
{
[Fact]
internal void HasWritePermissionAtTrueTest()
=> Assert.True(KotzUtilities.HasWritePermissionAt(AppContext.BaseDirectory));
=> Assert.True(KotzUtilities.HasWritePermissionAt(Path.GetTempPath()));

[Fact]
internal void HasWritePermissionAtFalseTest()
Expand Down

0 comments on commit 507ac23

Please # to comment.