dsV2Gshark Build #12
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
name: dsV2Gshark Build | |
on: | |
workflow_dispatch: | |
jobs: | |
build-windows: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Wireshark 4.2.6 | |
run: | | |
choco install wireshark --version=4.2.6 -y | |
- name: Build v2gLibs for Wireshark 4.2.6 | |
shell: cmd | |
working-directory: ./V2G_Libraries | |
run: | | |
build_for_ws.bat "C:\Program Files\Wireshark" | |
- name: Install Wireshark latest | |
run: | | |
choco uninstall wireshark -y | |
choco install wireshark -y | |
- name: Build v2gLibs for Wireshark latest | |
shell: cmd | |
working-directory: ./V2G_Libraries | |
run: | | |
build_for_ws.bat "C:\Program Files\Wireshark" | |
- name: Build Installer | |
run: Build_Installer.bat | |
shell: cmd | |
working-directory: ./Installer | |
- name: Upload Win64 Installer | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dsV2Gshark_Installer_Win_x64 | |
path: | | |
./Installer/Output/* | |
- name: Prepare Artifact Directory | |
run: | | |
mkdir artifact_dir | |
cp ./V2G_Libraries/v2gLib/bin/* ./artifact_dir/ | |
mkdir artifact_dir/plugins | |
cp ./Wireshark/plugins/* ./artifact_dir/plugins/ | |
cp ./LICENSE ./artifact_dir/dsV2Gshark_LICENSE.txt | |
cp ./README.md ./artifact_dir/dsV2Gshark_README.txt | |
- name: Upload Win64 Files | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dsV2Gshark_Files_Win_x86_64 | |
path: artifact_dir/* | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Libraries | |
run: | | |
chmod +x ./build_all_linux.sh | |
./build_all_linux.sh | |
working-directory: ./V2G_Libraries/ | |
- name: Prepare Artifact Directory | |
run: | | |
mkdir artifact_dir | |
cp ./V2G_Libraries/v2gLib/bin/* ./artifact_dir/ | |
mkdir artifact_dir/plugins | |
cp ./Wireshark/plugins/* ./artifact_dir/plugins/ | |
cp ./LICENSE ./artifact_dir/dsV2Gshark_LICENSE.txt | |
cp ./README.md ./artifact_dir/dsV2Gshark_README.txt | |
- name: Upload Linux Files | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dsV2Gshark_Files_Linux_x86_64 | |
path: artifact_dir/* |