1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Update workflow (#11938)

--amend
This commit is contained in:
haslinghuis 2022-11-12 10:38:55 +01:00 committed by GitHub
parent 55237248b0
commit 9024bfcfd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View file

@ -23,8 +23,7 @@ jobs:
- name: Get all official build targets - name: Get all official build targets
id: get-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 - name: Cache build toolchain
uses: actions/cache@v3 uses: actions/cache@v3
id: cache-toolchain id: cache-toolchain
@ -45,7 +44,7 @@ jobs:
target: ${{ fromJson(needs.setup.outputs.targets) }} target: ${{ fromJson(needs.setup.outputs.targets) }}
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Fetch toolchain from cache - name: Fetch toolchain from cache
uses: actions/cache@v3 uses: actions/cache@v3

View file

@ -41,11 +41,11 @@ jobs:
id: notes id: notes
run: | run: |
set -- Assets/*.hex 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 - name: Get current date
id: date id: date
run: echo "::set-output name=today::$(date '+%Y%m%d')" run: echo "today=$(date '+%Y%m%d')" >> $GITHUB_OUTPUT
- name: Release - name: Release
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v0.1.14 uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v0.1.14