更新 .github/workflows/build.yml

This commit is contained in:
宏尘 2024-07-11 13:16:48 +08:00
parent f69df81a7a
commit 9a87eefa2d

View File

@ -7,6 +7,7 @@ on:
push:
branches: [ "master", "dev" ]
paths: ["version"]
workflow_dispatch:
jobs:
build:
@ -90,7 +91,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
release_id: ${{ steps.create_release.outputs.id }}
asset_path: ./dist/halo-theme-dream2.0-plus.zip
asset_name: halo-theme-dream2.0-plus.zip
asset_content_type: application/zip