Skip to content

Commit ffc5fa9

Browse files
committed
start stging build files with staging. prefix so its not picked up on releases
1 parent 643a8ef commit ffc5fa9

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,17 @@ jobs:
6161
run: |
6262
mv examples/*/build/*/Wippersnapper_demo.ino.uf2 wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
6363
mv examples/*/build/*/Wippersnapper_demo.ino.bin wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
64-
mv examples/*/build/*/Wippersnapper_demo_staging.ino.uf2 wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
65-
mv examples/*/build/*/Wippersnapper_demo_staging.ino.bin wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
64+
mv examples/*/build/*/Wippersnapper_demo_staging.ino.uf2 staging.wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
65+
mv examples/*/build/*/Wippersnapper_demo_staging.ino.bin staging.wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
6666
- name: upload build artifacts
6767
uses: actions/upload-artifact@v2
6868
with:
6969
name: build-files
7070
path: |
7171
wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
7272
wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
73+
staging.wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
74+
staging.wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
7375
7476
7577
build-esp32:
@@ -103,13 +105,14 @@ jobs:
103105
- name: Rename build artifacts to reflect the platform name
104106
run: |
105107
mv examples/Wippersnapper_demo/build/esp32.esp32.*/Wippersnapper_demo.ino.bin wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
106-
mv examples/Wippersnapper_demo/build/esp32.esp32.*/Wippersnapper_demo_staging.ino.bin wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
108+
mv examples/Wippersnapper_demo/build/esp32.esp32.*/Wippersnapper_demo_staging.ino.bin staging.wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
107109
- name: upload build artifacts
108110
uses: actions/upload-artifact@v2
109111
with:
110112
name: build-files
111113
path: |
112114
wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
115+
staging.wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.bin
113116
114117
build-samd:
115118
name: Build WipperSnapper SAMD
@@ -145,15 +148,18 @@ jobs:
145148
run: |
146149
mv examples/*/build/*/Wippersnapper_demo.ino.uf2 wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
147150
mv examples/*/build/*/Wippersnapper_demo.ino.hex wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.hex
148-
mv examples/*/build/*/Wippersnapper_demo_staging.ino.uf2 wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
149-
mv examples/*/build/*/Wippersnapper_demo_staging.ino.hex wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.hex
151+
mv examples/*/build/*/Wippersnapper_demo_staging.ino.uf2 staging.wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
152+
mv examples/*/build/*/Wippersnapper_demo_staging.ino.hex staging.wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.hex
150153
- name: upload build artifacts
151154
uses: actions/upload-artifact@v2
152155
with:
153156
name: build-files
154157
path: |
155158
wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
156159
wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.hex
160+
staging.wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2
161+
staging.wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.hex
162+
157163
158164
clang_and_doxy:
159165
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)