mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2025-12-16 20:33:03 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df2bfb6ac7 | ||
|
|
517b6f8910 |
2
.github/workflows/maven.yml
vendored
2
.github/workflows/maven.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
||||
cache: maven
|
||||
|
||||
- name: Build Frontend
|
||||
run: cd web-front && yarn install && yarn run build
|
||||
run: cd web-front && npm install && npm run build
|
||||
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml
|
||||
|
||||
34
.github/workflows/update-release-badge.yml
vendored
34
.github/workflows/update-release-badge.yml
vendored
@@ -1,34 +0,0 @@
|
||||
name: Update Release Badge
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*' # 可按需调整
|
||||
|
||||
jobs:
|
||||
update-badge:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Get latest tag
|
||||
id: get_tag
|
||||
run: echo "tag_name=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Update README badge
|
||||
run: |
|
||||
TAG=${{ steps.get_tag.outputs.tag_name }}
|
||||
BADGE="https://img.shields.io/github/actions/workflow/status/qaiu/netdisk-fast-download/maven.yml?branch=$TAG"
|
||||
echo "Using badge: $BADGE"
|
||||
|
||||
# 替换 README 中 badge 行(标记行需特殊注释)
|
||||
sed -i -E "s#(!\[release-badge\]\(.*\))##" README.md
|
||||
|
||||
- name: Commit and push
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git commit -am "🔄 update release badge for ${{ steps.get_tag.outputs.tag_name }}" || echo "No changes"
|
||||
git push
|
||||
@@ -9,7 +9,7 @@ import 'element-plus/dist/index.css'
|
||||
import 'element-plus/theme-chalk/dark/css-vars.css'
|
||||
import "vue3-json-viewer/dist/index.css";
|
||||
import './styles/dark/css-vars.css'
|
||||
import router from './router'
|
||||
import router from './router/index.js'
|
||||
|
||||
const app = Vue.createApp(App)
|
||||
app.use(router)
|
||||
|
||||
Reference in New Issue
Block a user