Merge pull request #6017 from nextcloud/dependabot/npm_and_yarn/main/… #5294
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package build | |
on: | |
push: | |
branches: | |
- main | |
- master | |
- stable* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Set up npm7 | |
run: npm i -g npm@7 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@2.30.5 | |
with: | |
php-version: '7.4' | |
tools: composer | |
- name: install dependencies | |
run: | | |
wget https://github.com/ChristophWurst/krankerl/releases/download/v0.14.0/krankerl_0.14.0_amd64.deb | |
sudo dpkg -i krankerl_0.14.0_amd64.deb | |
- name: package | |
run: | | |
uname -a | |
RUST_BACKTRACE=1 krankerl --version | |
RUST_BACKTRACE=1 krankerl package | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Deck app tarball | |
path: build/artifacts/deck.tar.gz |