Skip to content

Commit 8bca2e0

Browse files
authored
Create release.yml
1 parent caf2844 commit 8bca2e0

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.github/workflows/release.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
name: build_release
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
device:
15+
- akershus
16+
- ayn-odin
17+
- beryllium
18+
- dipper-old
19+
- dipper
20+
- draco
21+
- enchilada
22+
- equuleus
23+
- fajita
24+
- judyln
25+
- m1882
26+
- m1892
27+
- nx616j
28+
- olympic
29+
- pafm00
30+
- pd1821
31+
- perseus
32+
- polaris
33+
- sdm845-generic
34+
- skr-a0
35+
- star2qltechn
36+
- trident
37+
steps:
38+
- name: Checkout repository
39+
uses: actions/checkout@v2
40+
41+
- name: Package device ${{ matrix.device }}
42+
run: ./extract.sh ${{ matrix.device }}
43+
44+
- name: Compress package device ${{ matrix.device }}
45+
run: tar -czf ${{ matrix.device }}.tar.gz output
46+
47+
- name: Release
48+
uses: softprops/action-gh-release@v1
49+
with:
50+
files: ${{ matrix.device }}.tar.gz
51+

0 commit comments

Comments
 (0)