fix: parsing error origin_file attribute (#90) #26
Workflow file for this run
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
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 }}' |