-
Notifications
You must be signed in to change notification settings - Fork 262
28 lines (26 loc) · 985 Bytes
/
package.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
name: Packaging
on: pull_request
permissions:
contents: read
jobs:
release-tarball:
runs-on: ubuntu-latest
name: Build release tarball
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
- name: Set up Nextcloud env
uses: ChristophWurst/setup-nextcloud@fc0790385c175d97e88a7cb0933490de6e990374 # v0.3.2
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
npm-version: ${{ steps.versions.outputs.npmVersion }}
tools: 'krankerl'
- name: Package app
run: krankerl package
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
with:
path: build/artifacts/mail.tar.gz
if-no-files-found: error