Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
antokhio committed Oct 16, 2024
1 parent 673f94a commit 9a75327
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: push_release_nuget

# on push on master
on:
push:
branches:
- feat/nuget
paths-ignore:
- README.md

jobs:
build:
runs-on: windows-latest
steps:
- name: Git Checkout
uses: actions/checkout@master
with:
submodules: 'recursive'

- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1

- name: Setup Nuget.exe
uses: nuget/setup-nuget@v1

-name: Apply Patch
run: git apply --ignore-whitespace shared-build.patch

- name: Build yogacore
uses: threeal/[email protected]
with:
source-dir: yoga\yoga
build-dir: lib\net8.0\Release\net8.0

- name: Publish VL Nuget
uses: vvvv/[email protected]
with:
csproj: src\Vl.Yoga.csproj
nuspec: deployment\VL.Yoga.nuspec
nuget-key: ${{ secrets.NUGET_KEY }}
25 changes: 25 additions & 0 deletions deployment/VL.Yoga.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>VL.Yoga</id>
<version>0.0.3</version>
<title>VL.Yoga</title>
<authors>antokhio, bjorn</authors>
<owners>antokhio</owners>
<license type="expression">MIT</license>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<readme>README.md</readme>
<projectUrl>https://github.com/antokhio/VL.Yoga</projectUrl>
<summary>https://github.com/facebook/yoga port to https://visualprogramming.net/</summary>
<description>Set of nodes to create flex layouts</description>
<copyright>Copyright © 2024 antokhio</copyright>
<tags>VL, vvvv, yoga</tags>
</metadata>
<files>
<file src="..\lib\**" target="lib\net8.0" />
<file src="..\*.vl"/>
<!-- <file src="..\help\*.vl" target="help"/> -->
<file src="..\README.md" />
<file src="..\LICENSE" />
</files>
</package>
Binary file removed src/yogacore.dll
Binary file not shown.
Binary file removed src/yogacore.exp
Binary file not shown.
Binary file removed src/yogacore.lib
Binary file not shown.

0 comments on commit 9a75327

Please sign in to comment.