Added TextureSubresourceViews device feature (API254003) #10
Workflow file for this run
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: Publish NuGet package | |
on: | |
push: | |
tags: | |
- 'v*' | |
- 'API*' | |
workflow_dispatch: | |
env: | |
MSBuildEnableWorkloadResolver: false | |
NUGET_SOURCE_URL: 'https://api.nuget.org/v3/index.json' | |
jobs: | |
deploy: | |
runs-on: windows-latest | |
name: Deploying NuGet package | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Install python packages | |
working-directory: ${{github.workspace}} | |
run: python -m pip install -r ./BuildTools/.NET/requirements.txt | |
- name: Build and run | |
working-directory: ${{github.workspace}} | |
run: python ./BuildTools/.NET/dotnet-build-package.py -c Release -s ./BuildTools/.NET/dotnet-build-settings.json -d ./ --dotnet-publish | |
- name: Publish NuGet package | |
run: dotnet nuget push *.nupkg -k ${{secrets.NUGET_AUTH_TOKEN}} -s ${{env.NUGET_SOURCE_URL}} | |
working-directory: ${{github.workspace}}/build/.NET/Graphics/GraphicsEngine.NET/bin/Release |