Change Actions flow

This commit is contained in:
Ari Stehney
2021-05-13 17:08:49 +02:00
committed by Raphael Coeffic
parent 6efeaebeaa
commit 28c815cca9
+13 -11
View File
@@ -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