Skip to content

update make release action #98

update make release action

update make release action #98

Workflow file for this run

#TODO: remove boilerplate code
on:
push:
tags:
- '*'
jobs:
build-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Build
run: >
python3 bin/create_binary_dist.py
- name: Release
uses: softprops/action-gh-release@v2
with:
draft: true
body_path: bin/releaseNotes.txt
files: bin/Spontini-Editor-${{ github.ref_name }}-linux_x86_64.tar.gz
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Build
run: >
python3 bin/create_binary_dist.py
- name: Release
uses: softprops/action-gh-release@v2
with:
draft: true
body_path: bin/releaseNotes.txt
files: bin/Spontini-Editor-${{ github.ref_name }}-windows_x86_64.zip
build-macos:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Build
run: >
python3 bin/create_binary_dist.py
- name: Release
uses: softprops/action-gh-release@v2
with:
draft: true
body_path: bin/releaseNotes.txt
files: bin/Spontini-Editor-${{ github.ref_name }}-darwin_x86_64.tar.gz