Skip to content

Commit

Permalink
Github Actions building support
Browse files Browse the repository at this point in the history
  • Loading branch information
MCMi460 committed Jul 27, 2023
1 parent e861cf7 commit 12d6d5e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 'Build Razor'
on:
release:
types: [published]

jobs:
build:
name: 'Build Razor'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['windows-latest']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: 3.11.3

# Windows Build
- name: 'Build'
if: matrix.os == 'windows-latest'
run: |
cd scripts &&
./build.bat
- name: 'Upload Build'
if: matrix.os == 'windows-latest'
uses: softprops/[email protected]
with:
files: dist/Razor.exe
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ffmpeg/
VLC/
dll/
ffmpeg.zip
temp/

# macOS
.DS_Store
Expand Down

0 comments on commit 12d6d5e

Please sign in to comment.