Language build #2
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: "Language build" | |
on: | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Use Node.js ${{ matrix.node-version }}" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- run: yarn install | |
- run: yarn build | |
- run: | | |
tar -zcvf linux-all-casaos-lang-build.tar.gz build | |
- name: Archive tarball | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ui-package | |
path: ./linux-all-casaos-lang-build.tar.gz |