mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-25 07:21:36 +00:00
ok... large image is not free...
This commit is contained in:
28
.github/workflows/compile-binary.yml
vendored
28
.github/workflows/compile-binary.yml
vendored
@@ -98,31 +98,3 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
./wtsexporter_macos_arm64
|
./wtsexporter_macos_arm64
|
||||||
|
|
||||||
macos-x64:
|
|
||||||
runs-on: macos-latest-large
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v6
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v6
|
|
||||||
with:
|
|
||||||
python-version: '3.13'
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install pycryptodome javaobj-py3 ordered-set zstandard nuitka==2.8.9
|
|
||||||
pip install .
|
|
||||||
- name: Build binary with Nuitka
|
|
||||||
run: |
|
|
||||||
python -m nuitka --onefile \
|
|
||||||
--include-data-file=./Whatsapp_Chat_Exporter/whatsapp.html=./Whatsapp_Chat_Exporter/whatsapp.html \
|
|
||||||
--assume-yes-for-downloads Whatsapp_Chat_Exporter --output-filename=wtsexporter_macos_x64
|
|
||||||
shasum -a 256 wtsexporter_macos_x64
|
|
||||||
- name: Generate artifact attestation
|
|
||||||
uses: actions/attest-build-provenance@v3
|
|
||||||
with:
|
|
||||||
subject-path: ./wtsexporter_macos_x64
|
|
||||||
- uses: actions/upload-artifact@v6
|
|
||||||
with:
|
|
||||||
name: binary-macos
|
|
||||||
path: |
|
|
||||||
./wtsexporter_macos_x64
|
|
||||||
|
|||||||
Reference in New Issue
Block a user