mirror of
https://github.com/polhenarejos/pico-fido.git
synced 2025-12-17 08:40:06 +08:00
36 lines
834 B
YAML
36 lines
834 B
YAML
name: "Nightly deploy"
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 2 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
nightly:
|
|
name: Deploy nightly
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
refs: [main, development]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ matrix.refs }}
|
|
submodules: 'recursive'
|
|
- name : Build
|
|
env:
|
|
PICO_SDK_PATH: ../pico-sdk
|
|
run: |
|
|
./workflows/autobuild.sh pico
|
|
./build_pico_fido.sh
|
|
./workflows/autobuild.sh esp32
|
|
- name: Update nightly release
|
|
uses: pyTooling/Actions/releaser@main
|
|
with:
|
|
tag: nightly-${{ matrix.refs }}
|
|
rm: true
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
files: release/*.*
|