Skip to content

Update main.yml

Update main.yml #6

Workflow file for this run

---
name: 'release'
on:
push:
branches:
- 'main'
jobs:
buildWin:
runs-on: 'windows-latest'
steps:
- name: 'Checkout source code'
uses: 'actions/checkout@v3'
with:
lfs: true
fetch-depth: 0
- name: '🔧 setup node'
uses: actions/setup-node@v3
with:
cache: 'npm'
cache-dependency-path: 'package-lock.json'
node-version: 20
- run: 'ls'
- run: 'npm install'
- run: 'npm run build'
- run: 'Compress-Archive -Path .\release\0.0.0\* -Destination test.zip'
- uses: 'marvinpinto/action-automatic-releases@latest'
with:
repo_token: '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'
automatic_release_tag: 'latest'
prerelease: true
title: 'Development Build'
files: |
test.zip
id: 'automatic_releases'