Fix starknet event decoder. #204
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Solver Client to nuget.org | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| workflow_dispatch: | |
| env: | |
| NUGET_PACKAGE_VERSION: "1.0.${{ github.run_number }}" | |
| PROJECT_PATH: "./csharp/src/Client" | |
| BUILD_CONFIG: "Release" | |
| jobs: | |
| nuget_publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Dotnet | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '8.0.x' | |
| - name: Dotnet Build | |
| run: dotnet build ${{ env.PROJECT_PATH }}/*.csproj --configuration "${{ env.BUILD_CONFIG }}" -p:TrainUrl="${{ vars.TRAIN_URL }}" | |
| - name: Dotnet Pack | |
| run: dotnet pack ${{ env.PROJECT_PATH }}/*.csproj --configuration "${{ env.BUILD_CONFIG }}" -p:PackageVersion="${{ env.NUGET_PACKAGE_VERSION }}" | |
| - name: Push to NuGet.org Feed | |
| run: dotnet nuget push "${{ env.PROJECT_PATH }}/bin/${{ env.BUILD_CONFIG }}/*.nupkg" -s "https://api.nuget.org/v3/index.json" -k "${{ secrets.NUGET_TOKEN }}" |