Build AutoRemesher for Windows #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build AutoRemesher for Windows | |
on: | |
workflow_dispatch: | |
inputs: | |
tagName: | |
description: Tag name for release | |
required: true | |
permissions: | |
contents: write | |
jobs: | |
build-win: | |
name: Build AutoRemesher for Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: master | |
- run: .\build-win.bat | |
timeout-minutes: 60 | |
- run: Rename-Item release -NewName autoremesher-${{ github.event.inputs.tagName }}-win | |
- run: Compress-Archive autoremesher-${{ github.event.inputs.tagName }}-win autoremesher-${{ github.event.inputs.tagName }}-win.zip | |
- uses: softprops/action-gh-release@v2 | |
with: | |
tag_name: ${{ github.event.inputs.tagName }} | |
files: autoremesher-${{ github.event.inputs.tagName }}-win.zip |