Skip to content

fix: parsing error origin_file attribute (#90) #26

fix: parsing error origin_file attribute (#90)

fix: parsing error origin_file attribute (#90) #26

Workflow file for this run

on:
push:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#patterns-to-match-branches-and-tags
# e.g., v1.10.1
tags:
- 'v[0-9].[0-9]+.[0-9]+'
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.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install . pyinstaller
- name: Build binary
run: pyinstaller "main.spec"
- name: Zip files 🗜️
run: |
cp tools/Forensicsim_Parser.py dist/
cd dist
tar.exe -a -cf forensicsim.zip Forensicsim_Parser.py ms_teams_parser.exe
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: >-
gh release create
'${{ github.ref_name }}'
--repo '${{ github.repository }}'
--title '${{ github.ref_name }}'
--generate-notes
- name: Upload artifacts to GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: >-
gh release upload
'${{ github.ref_name }}' dist/forensicsim.zip
--repo '${{ github.repository }}'