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
+12 -10
View File
@@ -6,6 +6,18 @@ on:
branches: [ 2.4 ] branches: [ 2.4 ]
jobs: 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: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
@@ -57,13 +69,3 @@ jobs:
with: with:
name: edgetx-firmware name: edgetx-firmware
path: ${{ github.workspace }}/*.bin 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