CSS 2.0 (#71) #265
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 | |
on: push | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
permissions: | |
contents: write | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- name: Revisar el repositorio Git | |
uses: actions/checkout@v3 | |
- name: Instalar y preparar Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Crear la carpeta para el certificado | |
run: mkdir -p cert | |
shell: bash | |
- name: Restaurar el certificado | |
run: echo ${{ secrets.CERTIFICATE_BASE64 }} | base64 --decode > ./cert/certificate.pfx | |
shell: bash | |
- name: Instalar y preparar Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Instalar dependencias | |
run: npm ci | |
shell: bash | |
- name: Build | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CERTIFICATE_FILE: ${{ github.workspace }}/cert/certificate.pfx | |
run: npm run dist | |
shell: bash |