-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 973 Bytes
/
main.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
41
42
43
44
name: Build and Deploy
on:
create:
tags:
- v*
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- windows-latest
max-parallel: 1
fail-fast: false
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Build
run: yarn build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy
uses: ncipollo/release-action@v1
with:
artifacts: './dist/electron/Packaged/*.exe'
body: Spotify Downloader ${{ github.ref_name }}
tag: ${{ github.ref_name }}
draft: false
prerelease: false
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}