Skip to content

Commit 276e0a0

Browse files
committed
Added github build script
1 parent 4571180 commit 276e0a0

4 files changed

Lines changed: 25 additions & 23 deletions

File tree

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
patreon: rds1983
2+
custom: https://boosty.to/rds1983
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build & Publish
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
BuildAndPublish:
8+
runs-on: windows-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
with:
13+
submodules: recursive
14+
- name: Setup .NET Core
15+
uses: actions/setup-dotnet@v1
16+
with:
17+
dotnet-version: '3.1.x'
18+
- name: Build StbImageWriteSharp
19+
run: dotnet build src\StbImageWriteSharp.csproj --configuration Release
20+
- name: Install NuGet
21+
uses: NuGet/setup-nuget@v1
22+
- name: Publish StbImageWriteSharp to NuGet
23+
run: nuget.exe push src\bin\Release\StbImageWriteSharp.*.nupkg ${{secrets.NUGET_APIKEY}} -Source https://api.nuget.org/v3/index.json

appveyor.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

build_all.bat

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)