Refactor legendary setup #3033
Workflow file for this run
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: Build Windows | |
on: | |
pull_request: | |
branches: [main, stable] | |
workflow_dispatch: | |
inputs: | |
version: | |
description: 'Build Test Files' | |
required: false | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository. | |
uses: actions/checkout@v3 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install modules. | |
run: npm i --legacy-peer-deps | |
- name: Build artifacts. | |
run: npm run dist:win portable | |
env: | |
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} | |
GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} | |
- name: Upload EXE. | |
uses: actions/upload-artifact@v3 | |
with: | |
name: win-portable | |
path: dist/Heroic*.exe | |
retention-days: 14 |