fix: remove update check #251
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: CI | |
on: | |
push: | |
branches: | |
- main | |
- master | |
tags: | |
- '*' | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install Dependencies | |
run: pip install -r requirements.txt | |
- name: Build Binary | |
run: pyinstaller main.spec | |
- name: Upload wheels | |
uses: actions/upload-artifact@v4 | |
with: | |
name: BHYG-Windows | |
path: dist | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: dist/BHYG-Windows.exe | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install Dependencies | |
run: pip install -r requirements.txt | |
- name: Build Binary | |
run: pyinstaller main.spec | |
- name: Upload wheels | |
uses: actions/upload-artifact@v4 | |
with: | |
name: BHYG-Linux | |
path: dist | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: dist/BHYG-Linux | |
macos-x64: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install Dependencies | |
run: pip install -r requirements.txt | |
- name: Build Binary | |
run: pyinstaller main.spec | |
- name: Upload wheels | |
uses: actions/upload-artifact@v4 | |
with: | |
name: BHYG-macOS-Intel | |
path: dist | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: dist/BHYG-macOS-Intel | |
macos-arm64: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install Dependencies | |
run: pip install -r requirements.txt | |
- name: Build Binary | |
run: pyinstaller main.spec | |
- name: Upload wheels | |
uses: actions/upload-artifact@v4 | |
with: | |
name: BHYG-macOS-Apple_Silicon | |
path: dist | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: dist/BHYG-macOS-Apple_Silicon | |