Merge branch 'RogueMaster:420' into main #145
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: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: build updater package | |
run: ./fbt updater_package | |
- name: build animation package | |
run: ./fbt dolphin_ext | |
- name: zip updater package | |
run: cd dist/f7-C/f7-update-RM420FAP && zip ${{ github.sha }}.zip * | |
- name: upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.sha }} | |
path: dist/f7-C/f7-update-RM420FAP/${{ github.sha }}.zip | |
- name: prerelease | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: true | |
title: "Latest Build" | |
files: dist/f7-C/f7-update-RM420FAP/${{ github.sha }}.zip |