2021-01-18 17:19:06 +00:00
|
|
|
name: Packaging
|
2022-10-13 12:53:00 +00:00
|
|
|
on: pull_request
|
2021-01-18 17:19:06 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
release-tarball:
|
2021-02-08 13:39:05 +00:00
|
|
|
runs-on: ubuntu-18.04
|
2021-01-18 17:19:06 +00:00
|
|
|
name: Build release tarball
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-10-13 14:47:47 +00:00
|
|
|
uses: actions/checkout@v3
|
2021-01-18 17:19:06 +00:00
|
|
|
- name: Set up Node
|
2021-06-14 10:08:06 +00:00
|
|
|
uses: actions/setup-node@v2
|
2021-01-18 17:19:06 +00:00
|
|
|
with:
|
2021-05-10 14:50:17 +00:00
|
|
|
node-version: 15
|
2021-01-18 17:19:06 +00:00
|
|
|
- name: Set up php$
|
|
|
|
uses: shivammathur/setup-php@master
|
|
|
|
with:
|
2022-12-30 14:30:56 +00:00
|
|
|
php-version: 8.0
|
2021-01-18 17:19:06 +00:00
|
|
|
tools: composer:v1
|
2021-02-08 13:39:05 +00:00
|
|
|
extensions: ctype,curl,dom,gd,iconv,intl,json,mbstring,openssl,posix,sqlite,xml,zip,gmp
|
2021-01-18 17:19:06 +00:00
|
|
|
coverage: none
|
|
|
|
- name: Install Krankerl
|
|
|
|
run: |
|
|
|
|
wget https://github.com/ChristophWurst/krankerl/releases/download/v0.12.3/krankerl_0.12.3_amd64.deb
|
|
|
|
sudo dpkg -i krankerl_0.12.3_amd64.deb
|
|
|
|
- name: Package app
|
|
|
|
run: krankerl package
|
2022-10-13 09:58:57 +00:00
|
|
|
- uses: actions/upload-artifact@v3
|
2021-01-18 17:19:06 +00:00
|
|
|
with:
|
|
|
|
path: build/artifacts/calendar.tar.gz
|
|
|
|
if-no-files-found: error
|