-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (32 loc) · 871 Bytes
/
build.yml
File metadata and controls
41 lines (32 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Compilar Soil
on:
push:
branches:
- main
jobs:
compilar-app:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Descargar el código del repositorio
uses: actions/checkout@v4
- name: Instalar Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Instalar las dependencias de Soil
run: npm install
- name: Compilar los instaladores
run: npx electron-builder
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Guardar los archivos generados
uses: actions/upload-artifact@v4
with:
name: Instaladores-Soil-${{ matrix.os }}
path: |
release/*.exe
release/*.AppImage
release/*.dmg