Skip to content

Build & Publish

Build & Publish #4

Workflow file for this run

name: Build & Publish
on:
workflow_dispatch:
defaults:
run:
shell: cmd
jobs:
build:
runs-on: windows-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Add MSBuild to PATH...
uses: microsoft/setup-msbuild@v1
- name: Build x86 binary...
run: msbuild /m /p:Configuration=Release /p:Platform=x86 .
- name: Build x64 binary...
run: msbuild /m /p:Configuration=Release /p:Platform=x64 .
- name: Combine x86/x64 binaries under Release dir...
run: echo f | xcopy x64\Release\rawccopy.exe Release\rawccopy_x64.exe && del Release\*.pdb
- name: Publish binaries...
uses: actions/upload-artifact@v3
with:
name: rawccopy-bin
path: Release
if-no-files-found: error