Still failing, what if I nuke the create_build section of the yaml? #11
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: draft | |
# Mostly from https://jon.sprig.gs/blog/post/2442 | |
on: | |
push: | |
# tags: | |
# - '*' | |
jobs: | |
build_release: | |
name: Build Release | |
# needs: create_release | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
include: | |
- os: ubuntu-latest | |
release_suffix: ubuntu | |
- os: macos-latest | |
release_suffix: mac | |
- os: windows-latest | |
release_suffix: windows | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run Linux Build | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
make | |
make check | |
make artifacts | |
- name: Run Mac Build | |
if: matrix.os == 'macos-latest' | |
run: | | |
brew install gawk | |
make | |
make check | |
make artifacts | |
- name: Run Windows Build | |
if: matrix.os == 'windows-latest' | |
run: | | |
choco install winflexbison -y | |
make | |
make check | |
make artifacts | |
# | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
tag_name: draftbuild | |
draft: true | |
prerelease: false | |
generate_release_notes: false | |
files: | | |
tokenize-*.tar.gz |