Merge pull request #76 from yanorei32/renovate/softprops-action-gh-re… #83
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: "release" | |
on: | |
push: | |
branches: | |
- "master" | |
tags: | |
- "v*" | |
jobs: | |
build: | |
name: "build" | |
runs-on: "windows-2022" | |
steps: | |
- name: set up Cygwin | |
uses: egor-tensin/setup-cygwin@v4 | |
with: | |
platform: x64 | |
packages: make zip | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: build | |
run: | | |
make.exe genzip | |
- name: create installer | |
uses: joncloud/[email protected] | |
with: | |
arguments: "/V3" | |
- name: compress installer (for BOOTH) | |
run: | | |
zip.exe VRChatRejoinTool.Installer.BOOTH.zip VRChatRejoinTool.Installer.exe | |
- name: pre-release | |
uses: softprops/[email protected] | |
with: | |
tag_name: "latest" | |
prerelease: true | |
name: "Development Build" | |
files: | | |
VRChatRejoinTool.zip | |
VRChatRejoinTool.Installer.exe | |
VRChatRejoinTool.Installer.BOOTH.zip | |
- name: tagged-release | |
uses: softprops/[email protected] | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
VRChatRejoinTool.zip | |
VRChatRejoinTool.Installer.exe | |
VRChatRejoinTool.Installer.BOOTH.zip | |