Skip to content

Commit 0273332

Browse files
committed
Tweak project setup
1 parent 5f2ba56 commit 0273332

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,6 @@ jobs:
6363

6464
- name: Test
6565
run: dotnet test --no-restore --no-build
66-
67-
- name: Move NuGet Packages
68-
run: mv (Get-ChildItem -Recurse ./ -Include *.nupkg) ./
69-
70-
# Removes the version number from the package name
71-
- name: Rename NuGet Packages
72-
run: Get-ChildItem -Include *.nupkg -Path ./* | Rename-Item -NewName { $_.Name -Replace '\.\d+\.\d+\.\d+.*$','.nupkg' }
7366

7467
# Publish the NuGet package(s) as an artifact, so they can be used in the following jobs
7568
- name: Upload NuGet Packages Artifact
@@ -78,7 +71,7 @@ jobs:
7871
name: NuGet Packages
7972
if-no-files-found: error
8073
retention-days: 7
81-
path: ./*.nupkg
74+
path: ./**/WikiIntegration.nupkg
8275

8376
# Only when it's not from a PR to avoid any funny packages in the cache
8477
- name: Save NuGet Package Cache

0 commit comments

Comments
 (0)