Upgrade to OBS 30.0.2 and include the obs version inside the lib version #30
This file contains 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: release | |
on: | |
push: | |
branches: [ main ] | |
paths: ['NetObsBindings/**'] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
env: | |
DEPLOY_SECRET: ${{ secrets.NUGET_TOKEN }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install .NET 7.0 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '7.0.x' | |
- name: Pack & Publish to nuget | |
shell: bash | |
run: | | |
dotnet pack ./NetObsBindings -c release -o publish /p:ContinuousIntegrationBuild=true | |
dotnet nuget push publish/*.nupkg -k ${{secrets.NUGET_TOKEN}} -s https://api.nuget.org/v3/index.json |