Skip to content

Refactor GitHub workflow #56

Refactor GitHub workflow

Refactor GitHub workflow #56

Workflow file for this run

name: CI
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
merge_group:
types: [checks_requested]
workflow_call:
outputs:
unsigned-artifact-id:
description: "Unsigned Installer"
value: ${{ jobs.build.outputs.unsigned-artifact-id }}
jobs:
build:
runs-on: windows-latest
name: Build
outputs:
unsigned-artifact-id: ${{ steps.upload-unsigned.outputs.artifact-id }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup rustup
run: rustup target add i686-pc-windows-msvc
- name: Build
run: scripts/build_installer.bat
- id: upload-unsigned
uses: actions/upload-artifact@v4
with:
name: Unsigned Installer
path: dist\windows-chewing-tsf-unsigned.exe