-
Notifications
You must be signed in to change notification settings - Fork 263
30 lines (28 loc) · 1.07 KB
/
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
29
30
# SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
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@11bd71901bbe5b1630ceea73d27597364c9af683 # 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@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4
with:
path: build/artifacts/mail.tar.gz
if-no-files-found: error