39 lines
No EOL
904 B
YAML
39 lines
No EOL
904 B
YAML
name: Web Client Package
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
- "!v*-dev"
|
|
jobs:
|
|
build_binary:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
- name: Install Angular CLI
|
|
run: npm install -g @angular/cli
|
|
- name: Install dependencies
|
|
run: |
|
|
pwd
|
|
cd client
|
|
ls
|
|
npm install
|
|
- name: Build Angular project
|
|
run: |
|
|
pwd
|
|
cd client
|
|
ls
|
|
ng build ${{ inputs.project_name }}
|
|
- name: Zip files
|
|
uses: vimtor/action-zip@v1.2
|
|
with:
|
|
files: client/dist/client/
|
|
dest: client/dist/client.zip
|
|
- name: Create Release
|
|
uses: akkuman/gitea-release-action@v1
|
|
with:
|
|
md5sum: true
|
|
files: |-
|
|
client/dist/client.zip |