Skip to content

Update Version to 5.3.4 #31

Update Version to 5.3.4

Update Version to 5.3.4 #31

Workflow file for this run

name: Release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Checkout Extra Libraries
uses: actions/checkout@v2
with:
repository: Windows10CE/HacknetPluginTemplate
path: 'template'
- name: Copy Libraries
run: |
copy template/libs/HacknetPathfinder.exe libs/HacknetPathfinder.exe
copy template/libs/FNA.dll libs/FNA.dll
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
- name: Build Projects
run: dotnet build -c release /p:DisableBepInExHacknetPrepareForBuild=true
- name: Create Release Directory
run: |
mkdir Release
mkdir Release/BepInEx
mkdir Release/BepInEx/core
mkdir Release/BepInEx/plugins
mkdir Release/BepInEx/config
copy PathfinderAPI/bin/Release/PathfinderAPI.dll Release/BepInEx/plugins/
copy PathfinderUpdater/bin/Release/PathfinderUpdater.dll Release/BepInEx/plugins/
copy BepInEx.Hacknet/bin/Release/* Release/BepInEx/core/
copy libs/BepInEx.cfg Release/BepInEx/config/BepInEx.cfg
copy PathfinderPatcher/bin/Release/PathfinderPatcher.exe Release/PathfinderPatcher.exe
copy libs/Mono.Cecil.dll Release/Mono.Cecil.dll
copy Linux/intercept.so Release/intercept.so
copy Linux/StartPathfinder.sh Release/StartPathfinder.sh
- name: Create Release ZIP
uses: TheDoctor0/[email protected]
with:
type: 'zip'
filename: 'Pathfinder.Release.zip'
directory: 'Release'
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.9'
- name: Install PyInstaller
run: python -m pip install pyinstaller requests
- name: Build Installer EXE
run: |
cd PathfinderInstaller
pyinstaller --onefile --noconsole PathfinderInstaller.py
cd ..
- name: Publish Release
uses: softprops/action-gh-release@v1
with:
files: |
Release/Pathfinder.Release.zip
PathfinderInstaller/dist/PathfinderInstaller.exe
PathfinderInstaller/PathfinderInstaller.py