mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 19:40:31 +03:00
Update nightly.yml to perform the release (Bugfix)
This commit is contained in:
parent
359b948d0f
commit
b59204acb5
1 changed files with 5 additions and 4 deletions
9
.github/workflows/nightly.yml
vendored
9
.github/workflows/nightly.yml
vendored
|
@ -33,15 +33,16 @@ jobs:
|
|||
needs: ci
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Code Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Fetch build artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
path: assets/
|
||||
|
||||
- name: Select release notes
|
||||
id: notes
|
||||
run: |
|
||||
set -- assets/*.hex
|
||||
set -- Assets/*.hex
|
||||
echo "::set-output name=notes::$(test -e "$1" && echo '${{ env.debug_release_notes }}' || echo '${{ env.release_notes }}')"
|
||||
|
||||
- name: Get current date
|
||||
|
@ -54,7 +55,7 @@ jobs:
|
|||
token: ${{ secrets.REPO_TOKEN }}
|
||||
repository: ${{ env.repo_nightly }}
|
||||
tag_name: v${{ steps.date.outputs.today }}.${{ github.run_number }}
|
||||
files: assets/*.hex
|
||||
files: Assets/*.hex
|
||||
draft: false
|
||||
prerelease: false
|
||||
fail_on_unmatched_files: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue