Merge pull request #198 from polluks/typo #10
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: mingw 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 mingw 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-mingw | |
# 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 |