chore: handle context #27
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: Windows TON build (portable, x86-64) | |
on: [push,workflow_dispatch,workflow_call] | |
defaults: | |
run: | |
shell: cmd | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- name: Get Current OS version | |
run: | | |
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" | |
- name: Check out current repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Build TON | |
run: | | |
copy assembly\native\build-windows-github-2019.bat . | |
copy assembly\native\build-windows-2019.bat . | |
build-windows-github-2019.bat Enterprise | |
- name: Upload artifacts | |
uses: actions/upload-artifact@master | |
with: | |
name: ton-win-binaries | |
path: artifacts |