Skip to content

Apply auto refactoring #173

Apply auto refactoring

Apply auto refactoring #173

Workflow file for this run

name: Veldrid CI build
on:
create: # when tags are created
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore src
- name: Build
run: dotnet build --no-restore src -c Release
- name: Build Packages
run: dotnet pack src -c Release
- name: Publish tagged release to nuget.org
if: startsWith(github.ref, 'refs/tags/')
run: dotnet nuget push bin\Packages\Release\ppy.*.nupkg -s https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}}
- name: Generate GitHub Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: |
bin\Packages\Release\ppy.*.nupkg