mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-27 02:05:31 +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
6
.github/workflows/nightly.yml
vendored
6
.github/workflows/nightly.yml
vendored
|
@ -35,12 +35,12 @@ jobs:
|
||||||
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