Add more RGB LED lua scripts for MT12 #339
Workflow file for this run
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 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/[email protected] | |
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 |