-
Notifications
You must be signed in to change notification settings - Fork 134
43 lines (34 loc) · 844 Bytes
/
release.yml
File metadata and controls
43 lines (34 loc) · 844 Bytes
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
name: Build and release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v6
with:
submodules: true
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 20
- name: Install modules
run: npm install
- name: Build
run: npm run build
- name: Pack zip
run: npm run pack:build
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
archives/photobooth-*.zip
archives/photobooth-*.tar.gz