Skip to content

packaging

packaging #12

name: CI
on:
push:
branches:
- main # Adjust branch name as needed
jobs:
build:
runs-on: windows-latest # Choose the appropriate OS for your project
steps:
- uses: actions/checkout@v2 # Check out your repository
- name: Configure Project
uses: threeal/[email protected]
with:
source-dir: third-party
- name: Build and Package
run: |
cd third-party
cd build
cmake ..
cmake --build . --target package # Generate installer
cp Project-0.1.0-win64.exe ../Project-0.1.0-win64.exe # Replace with your actual installer name
cd ..
mv Project-0.1.0-win64.exe build-artifact/
pwd
pwd
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: Project-0.1.0-win64
path: build-artifact/