Skip to content

feat(color): model presets #379

feat(color): model presets

feat(color): model presets #379

Workflow file for this run

name: Build Releases
on:
push:
branches:
- master
paths-ignore:
- '**/README.md'
pull_request:
branches:
- master
paths-ignore:
- '**/README.md'
workflow_dispatch:
jobs:
build-artifact:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate ZIPs
run: |
chmod +x generate.sh
./generate.sh
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.3
with:
name: sdcard-latest
path: |
dist/*
sdcard.json
upload-release:
if: github.event_name != 'pull_request'
needs: build-artifact
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@master
with:
name: sdcard-latest
path: .
- name: Deploy release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: 'latest'
prerelease: true
title: "Latest"
files: |
dist/bw212x64.zip
dist/bw128x64.zip
dist/c320x480.zip
dist/c480x272.zip
dist/c480x320.zip
sdcard.json