更新 .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: push:
branches: [ "master", "dev" ] branches: [ "master", "dev" ]
paths: ["version"] paths: ["version"]
workflow_dispatch:
jobs: jobs:
build: build:
@ -90,7 +91,7 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: 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_path: ./dist/halo-theme-dream2.0-plus.zip
asset_name: halo-theme-dream2.0-plus.zip asset_name: halo-theme-dream2.0-plus.zip
asset_content_type: application/zip asset_content_type: application/zip