more posix support and change makefile #43
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_tools | |
on: | |
push: {tags: ['v*'] } # Push events to matching v*, i.e. v1.0, v20.15.10 | |
pull_request: | |
permissions: | |
contents: write | |
jobs: | |
build_winexe_libwinhook: | |
runs-on: windows-2019 # default batch, powershell | |
steps: | |
- name: pull and init | |
uses: actions/checkout@v3 | |
with: {submodules: true} | |
- name: add msbuild to path | |
uses: microsoft/setup-msbuild@v1.1 | |
- name: build winloader | |
run: .\project\winexe_winloader\release_msvc.bat | |
- name: create a release | |
uses: ncipollo/release-action@v1 | |
if: github.event_name == 'push' | |
with: | |
artifacts: "./project/winexe_winloader/build/winloader32.exe,./project/winexe_winloader/build/winloader64.exe" | |
allowUpdates: "true" | |
token: ${{ secrets.GITHUB_TOKEN }} |