Skip to content

Merge pull request #26 from lxndrblz/dist #14

Merge pull request #26 from lxndrblz/dist

Merge pull request #26 from lxndrblz/dist #14

Workflow file for this run

on:
release:
types: [published]
permissions:
contents: write
jobs:
build:
name: Build exectuable 📦
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt pyinstaller
- name: Build binary
run: pyinstaller "main.spec"
- name: Upload artifacts to GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: >-
gh release upload
'${{ github.ref_name }}' dist/ms_teams_parser.exe
--repo '${{ github.repository }}'