Files
speckle-sharp-sdk/.github/workflows/main.yml
T
Adam Hathcock 405f3f4ee4 renamespace and other fixes (#2)
* renamespace

* add to sln and move

* manage package centrally

* add sourcelink and use GlobalPackageReference

* properly use globals

* fix nuget push

* fix readme

* add namespace handling for new types

* Removing used classes to stop viral spread of dependencies.  Some JSON usage was STJ and not newtonsoft

* fmt

* initial test

* serialization namespace test

* fmt

* put back old namespaces

* fix tests

* fixes while trying to do a roundtrip test

* remove namespace fix
2024-06-25 10:27:59 +01:00

34 lines
851 B
YAML

name: .NET Build and Publish
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
filter: tree:0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x.x
- uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: 🔫 Build and Pack
run: ./build.sh pack
- name: Push to nuget.org
run: dotnet nuget push output/*.nupkg --source "https://api.nuget.org/v3/index.json" --api-key ${{secrets.CONNECTORS_NUGET_TOKEN }} --skip-duplicate