Skip to content

Commit 2a746a0

Browse files
authored
chore: specify project path for restore and build commands
1 parent f6ae7d6 commit 2a746a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838
shell: pwsh
3939

4040
- name: Restore dependencies
41-
run: dotnet restore
41+
run: dotnet restore src/CodingWithCalvin.Otel4Vsix/CodingWithCalvin.Otel4Vsix.csproj
4242

4343
- name: Build
44-
run: dotnet build --configuration Release --no-restore -p:Version=${{ steps.version.outputs.VERSION }}
44+
run: dotnet build src/CodingWithCalvin.Otel4Vsix/CodingWithCalvin.Otel4Vsix.csproj --configuration Release --no-restore -p:Version=${{ steps.version.outputs.VERSION }}
4545

4646
- name: Pack
4747
run: dotnet pack src/CodingWithCalvin.Otel4Vsix/CodingWithCalvin.Otel4Vsix.csproj --configuration Release --no-build -p:Version=${{ steps.version.outputs.VERSION }} --output ./nupkg

0 commit comments

Comments
 (0)