Skip to content

improve error handling and cancellation. #10

improve error handling and cancellation.

improve error handling and cancellation. #10

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 }}