Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
strongtz authored Jan 23, 2022
1 parent caf2844 commit 8bca2e0
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: release

on:
push:
tags:
- '*'

jobs:
build:
name: build_release
runs-on: ubuntu-latest
strategy:
matrix:
device:
- akershus
- ayn-odin
- beryllium
- dipper-old
- dipper
- draco
- enchilada
- equuleus
- fajita
- judyln
- m1882
- m1892
- nx616j
- olympic
- pafm00
- pd1821
- perseus
- polaris
- sdm845-generic
- skr-a0
- star2qltechn
- trident
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Package device ${{ matrix.device }}
run: ./extract.sh ${{ matrix.device }}

- name: Compress package device ${{ matrix.device }}
run: tar -czf ${{ matrix.device }}.tar.gz output

- name: Release
uses: softprops/action-gh-release@v1
with:
files: ${{ matrix.device }}.tar.gz

0 comments on commit 8bca2e0

Please sign in to comment.