Files
metalcheck-cli/.gitea/workflows/ci.yaml
Aleksandr Tcitlionok 3e2ad4c751
All checks were successful
Build Binary / build (push) Successful in 2m27s
fix(ci): use previous version of upload-artifact
2024-12-11 14:32:48 +00:00

39 lines
729 B
YAML

name: Build Binary
on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
- name: Build Binary
run: pyinstaller --onefile --name=metalcheck cli/main.py
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: metalcheck-cli
path: dist/metalcheck