Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
969 B
YAML
40 lines
969 B
YAML
name: Package build
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-18.04
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [14.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Set up npm7
|
|
run: npm i -g npm@7
|
|
- name: Setup PHP
|
|
uses: shivammathur/setup-php@2.17.1
|
|
with:
|
|
php-version: '7.4'
|
|
tools: composer
|
|
- name: install dependencies
|
|
run: |
|
|
wget https://github.com/ChristophWurst/krankerl/releases/download/v0.12.2/krankerl_0.12.2_amd64.deb
|
|
sudo dpkg -i krankerl_0.12.2_amd64.deb
|
|
- name: package
|
|
run: |
|
|
uname -a
|
|
RUST_BACKTRACE=1 krankerl --version
|
|
RUST_BACKTRACE=1 krankerl package
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Deck app tarball
|
|
path: build/artifacts/deck.tar.gz
|