Skip to content

Update build.yml

Update build.yml #32

Workflow file for this run

name: Build and Release
on:
push:
branches:
- '**'
jobs:
build_and_release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Build
run: make
- name: Create Release
uses: softprops/action-gh-release@v1
with:
tag_name: 'build-${{ github.run_number }}'
release_name: 'Build ${{ github.run_number }}'
files: 'mbox2eml' # Replace 'myprogram' with your binary's name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}