Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from ThePotato97/root
Browse files Browse the repository at this point in the history
Implemented GitHub Action for Automated Windows Builds
  • Loading branch information
Xaymar authored Feb 27, 2024
2 parents 5c1b827 + 9752ba4 commit 7eb7ef5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build Windows Executable

on:
push:
branches: [ root ]
pull_request:
branches: [ root ]
workflow_dispatch:

env:
BUILD_TYPE: Release

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Upload hellextractor Artifact
uses: actions/[email protected]
with:
name: hellextractor
path: ${{github.workspace}}/build/Release/Hellextractor.exe
if-no-files-found: error # Optional: 'warn', 'error', 'ignore'

0 comments on commit 7eb7ef5

Please sign in to comment.