Added paths to LinuxServerBuild Hathora Demo so that it only triggers… #9
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: Windows build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- dev | |
- main | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: [self-hosted, Windows] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- run: git clean -fdx | |
- name: Prepare Repository for Compilation | |
run: bash init_repo.sh | |
- name: Build image | |
run: .\windows_build_project.ps1 | |
- name: Compress Directory | |
run: powershell Compress-Archive PackagedProject artifacts.zip | |
- name: Upload Compressed Folder as Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifacts | |
path: artifacts.zip |