Release rkloaders for Orange Pi 5 / 5B / 5+ nightly #32
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: Release rkloaders for Orange Pi 5 / 5B / 5+ nightly | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 2 * * *' # run at 2 AM UTC | |
permissions: | |
contents: write | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yml | |
release: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
name: all | |
- name: Display structure of downloaded files | |
run: ls -R | |
- name: Generate file list | |
run: | | |
cd out | |
ls *.img > list | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
body_path: versions | |
name: Nightly | |
tag_name: nightly | |
files: out/* |