Skip to content

Commit

Permalink
add yak.exe
Browse files Browse the repository at this point in the history
  • Loading branch information
goswinr committed Dec 14, 2024
1 parent c4ba9ba commit 34d34da
Show file tree
Hide file tree
Showing 11 changed files with 483 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build for Standalone
name: Build

on:
push:
Expand Down
26 changes: 16 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Release Standalone
name: Build and Release Yak

on:
push:
Expand All @@ -24,20 +24,26 @@ jobs:

# https://discourse.mcneel.com/t/github-action-to-yak/120815/3

- name: Download Yak
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
run: curl -o yak.exe http://files.mcneel.com/yak/tools/latest/yak.exe
# - name: Download Yak
# env:
# ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
# run: curl -o yak.exe http://files.mcneel.com/yak/tools/latest/yak.exe

# - name: Build Yak
# env:
# ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
# run: ..\..\yak.exe build --platform win --version ${{ github.ref_name }}
# # I prepopulated a manifest file and copied it next to the .gha
# working-directory: bin/Release



- name: Build Yak
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
run: ..\..\yak.exe build --platform win --version ${{ github.ref_name }}
# I prepopulated a manifest file and copied it next to the .gha
run: ..\..\build\Yak.exe build --platform win --version ${{ github.ref_name }}
working-directory: bin/Release

- name: Push new version to YAK
run: ..\..\yak.exe push fesh-${{ github.ref_name }}-rh7_0-win.yak
run: ..\..\build\Yak.exe push fesh-${{ github.ref_name }}-rh7_0-win.yak
working-directory: bin/Release
# You should create a secret using the token from here: yak.exe login --ci
env:
Expand Down
5 changes: 4 additions & 1 deletion Src/yak.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Fesh
version: 0.16.0
# version: 0.16.0
url: "https://github.com/goswinr/Fesh.Rhino"
icon: logo.png
# platform: win
authors:
- Goswin Rothenthal
description: >
Expand All @@ -28,5 +29,7 @@ keywords:

# cd ./bin/Release
# "C:\Program Files\Rhino 8\System\Yak.exe" build --platform win --version 0.16.1
# "C:\Program Files\Rhino 8\System\Yak.exe" build --version 0.16.1
# "..\..\build\Yak.exe" build --platform win --version 0.16.1

# "C:\Program Files\Rhino 8\System\Yak.exe" push fesh-0.16.0-rh7_0-win.yak
Binary file added build/DocoptNet.dll
Binary file not shown.
Binary file added build/Mono.Cecil.dll
Binary file not shown.
Binary file added build/Yak.Core.dll
Binary file not shown.
Loading

0 comments on commit 34d34da

Please sign in to comment.