10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ec2bd6 commit cfc011fCopy full SHA for cfc011f
.github/workflows/platformio-build.yaml
@@ -17,6 +17,11 @@ on:
17
required: true
18
type: string
19
20
+ upload-firmware:
21
+ description: 'If true firmware artefacts will be uploaded on completion'
22
+ required: false
23
+ default: false
24
+
25
26
jobs:
27
pio-build:
@@ -39,3 +44,13 @@ jobs:
39
44
- name: "Run build"
40
45
run: |
41
46
pio run -e "${{ inputs.pio-environment }}"
47
48
+ - name: "Upload firmware"
49
+ if: ${{ inputs.upload-firmware == 'true' }}
50
+ uses: actions/upload-artifact@v3
51
+ with:
52
+ name: firmware
53
+ path: |
54
+ "./.pio/build/${{ inputs.pio-environment }}/bootloader.*"
55
+ "./.pio/build/${{ inputs.pio-environment }}/firmware.*"
56
+ "./.pio/build/${{ inputs.pio-environment }}/project.checksum"
0 commit comments