Skip to content

Commit

Permalink
Added github build script
Browse files Browse the repository at this point in the history
  • Loading branch information
rds1983 committed Jun 29, 2022
1 parent 4571180 commit 276e0a0
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 23 deletions.
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
patreon: rds1983
custom: https://boosty.to/rds1983
23 changes: 23 additions & 0 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build & Publish

on:
workflow_dispatch:

jobs:
BuildAndPublish:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
- name: Build StbImageWriteSharp
run: dotnet build src\StbImageWriteSharp.csproj --configuration Release
- name: Install NuGet
uses: NuGet/setup-nuget@v1
- name: Publish StbImageWriteSharp to NuGet
run: nuget.exe push src\bin\Release\StbImageWriteSharp.*.nupkg ${{secrets.NUGET_APIKEY}} -Source https://api.nuget.org/v3/index.json
21 changes: 0 additions & 21 deletions appveyor.yml

This file was deleted.

2 changes: 0 additions & 2 deletions build_all.bat

This file was deleted.

0 comments on commit 276e0a0

Please sign in to comment.