Skip to content

Support any-any in yak #8

Support any-any in yak

Support any-any in yak #8

Workflow file for this run

name: Yak Release
on:
push:
tags:
- '*.*.*'
- '*.*.*-pre'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Build
run: msbuild /restore /p:Configuration=Release /p:Version=${{ github.ref_name }}
- name: Download Yak
run: curl https://files.mcneel.com/yak/tools/latest/yak.exe -o yak.exe
- name: Yak Build
working-directory: ./Plugin/bin/Release
run: |
..\..\..\yak build --version ${{ github.ref_name }}
Rename-Item -Path (dir *.yak).Name -NewName ((dir *.yak).Name -replace '-rh.+\.yak','-any-any.yak')
..\..\..\yak push (dir *.yak).Name
env:
YAK_TOKEN: ${{ secrets.YAK_TOKEN }}