Skip to content

version 2.1.3

version 2.1.3 #8

Workflow file for this run

name: Build/release
on:
push:
## Run on tags starting with `v*`
tags:
- 'v*'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
release:
continue-on-error: false
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Node.js
uses: actions/setup-node@v2-beta
with:
node-version: '18'
- name: "Install dependencies for build"
run: "npm install"
- name: "Lint"
run: "npm run lint"
- name: "Run build"
run: "npm run build"
# I think otherwise a the bundles get excluded
- name: "Delete gitignore"
run: "rm .gitignore"
- name: 'Zip folder'
uses: thedoctor0/[email protected]
with:
type: 'zip'
filename: "agregore-renderer-${{github.ref_name}}.zip"
exclusions: '*.git* /*node_modules/* .*'
- name: 'Upload Release'
uses: ncipollo/[email protected]
with:
artifacts: "agregore-renderer-${{github.ref_name}}.zip"
token: ${{ secrets.GITHUB_TOKEN }}
draft: true
allowUpdates: true