Skip to content

chore: 업데이트 GitHub Actions 워크플로우 설명 및 파일 이름 추가 #2

chore: 업데이트 GitHub Actions 워크플로우 설명 및 파일 이름 추가

chore: 업데이트 GitHub Actions 워크플로우 설명 및 파일 이름 추가 #2

Workflow file for this run

name: Build and Release (Linux)
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install pyinstaller
- name: Run build.sh to create binary
run: bash build.sh
- name: Upload Linux executable to GitHub Release
uses: softprops/action-gh-release@v2
with:
name: git-commit-gen
files: git-commit-gen
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}