-
Notifications
You must be signed in to change notification settings - Fork 259
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@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
id: versions
- name: Set up Nextcloud env
uses: ChristophWurst/setup-nextcloud@8bc31fe189b3cb3b44122dede08ce39e8932c554 # v0.3.1
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@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
with:
path: build/artifacts/mail.tar.gz
if-no-files-found: error