-
-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (32 loc) · 929 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
on:
push:
tags:
- 'v*'
name: Create Release
jobs:
build:
name: Create Release
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Package
run: npm run package
- name: Zip plugin
run: |
zip -j "Harvest Billables for Stream Deck ${{ github.ref_name }}.zip" build/me.reinii.harvest-billables.streamDeckPlugin
(cd build && zip -r ../build-${{ github.ref_name }}.zip .)
- name: Create release
uses: softprops/action-gh-release@v1
with:
files: |
Harvest Billables for Stream Deck ${{ github.ref_name }}.zip
build-${{ github.ref_name }}.zip
fail_on_unmatched_files: true
draft: true