mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-05-30 12:39:58 +08:00
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
name: Release UI
|
|
|
|
on:
|
|
push:
|
|
# Sequence of patterns matched against refs/tags
|
|
tags:
|
|
- "ui-v*" # Push events to matching v*, i.e. v1.0, v20.15.10
|
|
|
|
jobs:
|
|
build:
|
|
env:
|
|
PUPPETEER_SKIP_DOWNLOAD: 'true'
|
|
runs-on: ubuntu-latest
|
|
permissions: write-all
|
|
|
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
steps:
|
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
- name: Checkout source
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
npm i pnpm@^8.6.9 -g
|
|
cd packages/ui
|
|
pnpm i --force
|
|
|
|
- name: Build
|
|
run: |
|
|
cd packages/ui
|
|
node ./scripts/github-ci-build.mjs
|
|
|
|
- name: Create Release
|
|
uses: ncipollo/release-action@v1
|
|
with:
|
|
artifacts: "packages/ui/*.zip,packages/ui/*.exe,packages/ui/*.deb,packages/ui/*.rpm"
|
|
tag: ${{ github.ref }}
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
body: TODO New Release.
|