Welcome to mirror list, hosted at ThFree Co, Russian Federation.

package.yml « workflows « .github - github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1e84082d1b343c8ec432c3cd80438d11eb1f8024 (plain)
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
name: Packaging

on:
    pull_request:
    push:
        branches:
            - master
            - stable*

jobs:
  release-tarball:
    runs-on: ubuntu-latest
    name: Build release tarball
    steps:
      - name: Checkout
        uses: actions/checkout@master
      - name: Set up Node
        uses: actions/setup-node@v2.4.1
        with:
          node-version: 14.x
      - name: Set up php$
        uses: shivammathur/setup-php@master
        with:
          php-version: 7.4
          tools: composer:v1
          extensions: ctype,curl,dom,gd,iconv,intl,json,mbstring,openssl,posix,sqlite,xml,zip
          coverage: none
      - name: Install Krankerl
        run: |
          wget https://github.com/ChristophWurst/krankerl/releases/download/v0.13.0/krankerl_0.13.0_amd64.deb
          sudo dpkg -i krankerl_0.13.0_amd64.deb
      - name: Package app
        run: krankerl package
      - uses: actions/upload-artifact@v2
        with:
          path: build/artifacts/mail.tar.gz
          if-no-files-found: error