mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +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.
|
This is an automated development build.
|
||||||
It may be unstable and result in craft loss or damage.
|
It may be unstable and result in craft loss or damage.
|
||||||
**Use only for testing.**
|
**Use only for testing.**
|
||||||
release_notes: This is a release build.
|
release_notes: This is a release build.
|
||||||
|
|
||||||
name: Nightly
|
name: Nightly
|
||||||
|
|
||||||
|
@ -33,14 +33,14 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Code Checkout
|
- name: Code Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Fetch build artifacts
|
- name: Fetch build artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
|
|
||||||
- name: Select release notes
|
- name: Select release notes
|
||||||
id: notes
|
id: notes
|
||||||
run: |
|
run: |
|
||||||
set -- Assets/*.hex
|
set -- ./*/*.hex
|
||||||
echo "notes=$(test -e "$1" && echo '${{ env.debug_release_notes }}' || echo '${{ env.release_notes }}')" >> $GITHUB_OUTPUT
|
echo "notes=$(test -e "$1" && echo '${{ env.debug_release_notes }}' || echo '${{ env.release_notes }}')" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Get current date
|
- name: Get current date
|
||||||
|
@ -53,7 +53,7 @@ jobs:
|
||||||
token: ${{ secrets.REPO_TOKEN }}
|
token: ${{ secrets.REPO_TOKEN }}
|
||||||
repository: ${{ env.repo_nightly }}
|
repository: ${{ env.repo_nightly }}
|
||||||
tag_name: v${{ steps.date.outputs.today }}.${{ github.run_number }}
|
tag_name: v${{ steps.date.outputs.today }}.${{ github.run_number }}
|
||||||
files: Assets/*.hex
|
files: ./*/*.hex
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue