mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
parent
55237248b0
commit
9024bfcfd9
2 changed files with 4 additions and 5 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -23,8 +23,7 @@ jobs:
|
|||
|
||||
- name: Get all official build targets
|
||||
id: get-targets
|
||||
run: echo "::set-output name=targets::$(make targets-ci-print | jq -R -c 'split(" ")')"
|
||||
|
||||
run: echo "targets=$(make targets-ci-print | jq -R -c 'split(" ")')" >> $GITHUB_OUTPUT
|
||||
- name: Cache build toolchain
|
||||
uses: actions/cache@v3
|
||||
id: cache-toolchain
|
||||
|
@ -45,7 +44,7 @@ jobs:
|
|||
target: ${{ fromJson(needs.setup.outputs.targets) }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Fetch toolchain from cache
|
||||
uses: actions/cache@v3
|
||||
|
|
4
.github/workflows/nightly.yml
vendored
4
.github/workflows/nightly.yml
vendored
|
@ -41,11 +41,11 @@ jobs:
|
|||
id: notes
|
||||
run: |
|
||||
set -- Assets/*.hex
|
||||
echo "::set-output name=notes::$(test -e "$1" && echo '${{ env.debug_release_notes }}' || echo '${{ env.release_notes }}')"
|
||||
echo "notes=$(test -e "$1" && echo '${{ env.debug_release_notes }}' || echo '${{ env.release_notes }}')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Get current date
|
||||
id: date
|
||||
run: echo "::set-output name=today::$(date '+%Y%m%d')"
|
||||
run: echo "today=$(date '+%Y%m%d')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v0.1.14
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue