Fix translation #14
Workflow file for this run
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 ui-compiler.exe and optionally Build Assets | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
windows_build: | |
name: Windows Build | |
runs-on: windows-latest | |
steps: | |
# Download the repository | |
- uses: actions/checkout@v2 | |
# Caching for Rust | |
- name: Cache rust builds | |
uses: Swatinem/rust-cache@v2 | |
- name: Build ui-compiler.exe | |
run: cargo build | |
- name: Download and install dependencies, then build assets | |
run: python build.py github_actions | |
# Publish a release (tagged commits) | |
# For more info on options see: https://github.com/softprops/action-gh-release | |
- name: Release (tag) | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') # only publish tagged commits | |
with: | |
files: | | |
output/*.7z | |
target/debug/ui-compiler.exe | |
draft: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |