redoing pipelines
All checks were successful
Build and Release / build (push) Successful in 11s
Build and Release / release (push) Has been skipped

This commit is contained in:
2025-07-30 17:40:02 -03:00
parent 140119cb99
commit 9e80818fc5
2 changed files with 33 additions and 28 deletions

View File

@@ -0,0 +1,33 @@
name: Build and Release
on:
push:
tags:
- v*
jobs:
release:
if: gitea.event_name == 'tag'
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup zip
run: sudo apt-get install zip -y
- name: Install JS dependencies
run: npm install
- name: Run build
run: npm run build
- name: Prepare release
run: |
bash scripts/prepare_release.sh
mv dist vision-start/
mv manifest.json vision-start/
- name: Create zip archive
run: zip -r vision-start-${{ gitea.ref_name }}.zip vision-start
- name: Release zip
uses: akkuman/gitea-release-action@v1
with:
name: ${{ gitea.ref_name }}
tag_name: ${{ gitea.ref_name }}
files: vision-start-${{ gitea.ref_name }}.zip