Skip to content

Commit 3ecdde1

Browse files
committed
ci: update GitHub Actions workflow
- Update branch name from 'master' to 'master' (no space) - Rename 'PollinationSDK.Tests' to 'CSharpSDK.Tests' - Rename 'PollinationSDK' to 'CSharpSDK' - Remove unnecessary hyphen in build steps
1 parent e0de962 commit 3ecdde1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/cd.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: CD
22

3-
on:
3+
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66

77
jobs:
88
build:
@@ -21,16 +21,16 @@ jobs:
2121
dotnet --version
2222
dotnet restore
2323
dotnet build --configuration Release
24-
24+
2525
- name: Run Unit Tests
26-
working-directory: src/PollinationSDK.Tests
26+
working-directory: src/CSharpSDK.Tests
2727
run: |
2828
$Env:PollinationApiKey = "${{secrets.POLLINATION_STAGING_APIKEY}}"
2929
$Env:PollinationApiKeyProduction = "${{secrets.POLLINATION_PRODUCTION_APIKEY}}"
3030
dotnet test --configuration Release
3131
3232
- name: Deploy
33-
working-directory: src/PollinationSDK
33+
working-directory: src/CSharpSDK
3434
run: |
3535
dotnet pack --configuration Release -o nuget -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
3636
dotnet nuget push bin\Release\PollinationSDK.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)