Skip to content

Move abnormal code to be after running manually #99

Move abnormal code to be after running manually

Move abnormal code to be after running manually #99

Workflow file for this run

name: draft
# Mostly from https://jon.sprig.gs/blog/post/2442
# Create a draft release on every push.
on:
push:
jobs:
build_release:
name: Build 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: Setup Mac build environment
if: matrix.os == 'macos-latest'
run: |
brew install gawk
- name: Setup Windows build environment
if: matrix.os == 'windows-latest'
run: |
choco install -y winflexbison3
choco install -y xxd
- name: Compile, verify, and create archives
run: |
make check artifacts
- name: Machine dependent file upload
uses: softprops/action-gh-release@v2
with:
name: draftbuild
draft: true
prerelease: false
generate_release_notes: false
files: |
bin-*.tar.gz
cfiles-*.tar.gz
- name: Source code upload
if: matrix.os == 'ubuntu-latest'
uses: softprops/action-gh-release@v2
with:
name: draftbuild
draft: true
prerelease: false
generate_release_notes: false
files: |
tokenize.tar.gz
cfiles.tar.gz