Change Actions flow
This commit is contained in:
committed by
Raphael Coeffic
parent
6efeaebeaa
commit
28c815cca9
@@ -6,6 +6,18 @@ on:
|
||||
branches: [ 2.4 ]
|
||||
|
||||
jobs:
|
||||
metadata:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Package metadata ${{ matrix.target }}
|
||||
uses: 'actions/upload-artifact@v2'
|
||||
with:
|
||||
name: edgetx-firmware
|
||||
path: fw.json
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
@@ -56,14 +68,4 @@ jobs:
|
||||
uses: 'actions/upload-artifact@v2'
|
||||
with:
|
||||
name: edgetx-firmware
|
||||
path: ${{ github.workspace }}/*.bin
|
||||
post_run:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ always() }}
|
||||
needs: [test]
|
||||
steps:
|
||||
- name: Package metadata ${{ matrix.target }}
|
||||
uses: 'actions/upload-artifact@v2'
|
||||
with:
|
||||
name: edgetx-firmware
|
||||
path: fw.json
|
||||
path: ${{ github.workspace }}/*.bin
|
||||
Reference in New Issue
Block a user