Update windows-build.yml #12
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: msys2 build | |
# https://stackoverflow.com/a/75758843 | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: windows-2019 | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
- name: gcc version | |
run: gcc --version | |
- name: Build | |
run: make -C RunCPM msys2 build | |
- name: Copy binary to artifact folder | |
run: cp RunCPM/RunCPM.exe output | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
# Artifact name | |
name: runcpm-msys2 | |
# A file, directory or wildcard pattern that describes what to upload | |
path: output | |
# The desired behavior if no files are found using the provided path. | |
if-no-files-found: error |