mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
FIX: Broken nightly build (#13718)
This commit is contained in:
parent
c2c3d6740c
commit
648e68d315
1 changed files with 5 additions and 5 deletions
10
.github/workflows/nightly.yml
vendored
10
.github/workflows/nightly.yml
vendored
|
@ -10,7 +10,7 @@ env:
|
|||
This is an automated development build.
|
||||
It may be unstable and result in craft loss or damage.
|
||||
**Use only for testing.**
|
||||
release_notes: This is a release build.
|
||||
release_notes: This is a release build.
|
||||
|
||||
name: Nightly
|
||||
|
||||
|
@ -33,14 +33,14 @@ jobs:
|
|||
steps:
|
||||
- name: Code Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
||||
- name: Fetch build artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
|
||||
- name: Select release notes
|
||||
id: notes
|
||||
run: |
|
||||
set -- Assets/*.hex
|
||||
set -- ./*/*.hex
|
||||
echo "notes=$(test -e "$1" && echo '${{ env.debug_release_notes }}' || echo '${{ env.release_notes }}')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Get current date
|
||||
|
@ -53,7 +53,7 @@ jobs:
|
|||
token: ${{ secrets.REPO_TOKEN }}
|
||||
repository: ${{ env.repo_nightly }}
|
||||
tag_name: v${{ steps.date.outputs.today }}.${{ github.run_number }}
|
||||
files: Assets/*.hex
|
||||
files: ./*/*.hex
|
||||
draft: false
|
||||
prerelease: false
|
||||
fail_on_unmatched_files: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue