Skip to content

Commit

Permalink
i
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminZehowlt committed Nov 14, 2023
1 parent c10be50 commit e8ecfe6
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/github_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,34 @@ jobs:
run: sudo apt update && sudo apt install -y nsis nsis-pluginapi

- name: Restore Node Dependencies
run: cd html && npm ci && cd ..
run: cd ${{ github.workspace }}/html && npm ci && cd ${{ github.workspace }}

#- name: JS Lint
# run: cd html && npm run lint && cd ..

- name: Build Web UI
run: cd html && npm run production && cd ..
run: cd ${{ github.workspace }}/html && npm run production && cd ${{ github.workspace }}

- name: Build .NET Application
run: dotnet build -p:Configuration=Release -p:Platform=x64 -p:TargetFramework=net8-windows -p:EnableWindowsTargeting=true

- name: Copy Web UI
run: cp -r html/dist bin/x64/Release/html
run: cp -r ${{ github.workspace }}/dist ${{ github.workspace }}/bin/x64/Release/html

- name: Build Installer
run: joncloud/makensis-action@v4
with:
script-file: ${{ github.workspace }}/Installer/installer.nsi
additional-plugin-paths: ${{ github.workspace }}/Installer/Plugins

- name: Upload Zip
uses: actions/upload-artifact@v3
with:
name: "VRCX"
path: "bin/x64/Release/*"
path: ${{ github.workspace }}/bin/x64/Release/*

- name: Upload Installer
uses: actions/upload-artifact@v3
with:
name: "VRCX_Setup"
path: ${{ github.workspace }}/Installer/VRCX_Setup.exe

0 comments on commit e8ecfe6

Please sign in to comment.