更新 .github/workflows/build.yml

This commit is contained in:
宏尘 2024-07-11 13:19:27 +08:00
parent a7b9919f40
commit 20e33059b9

View File

@ -7,7 +7,7 @@ on:
push: push:
branches: [ "master", "dev" ] branches: [ "master", "dev" ]
paths: ["version"] paths: ["version"]
workflow_dispatch: workflow_dispatch:
jobs: jobs:
build: build:
@ -91,7 +91,7 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
release_id: ${{ steps.create_release.outputs.id }} upload_url: ${{ steps.create_release.outputs.upload_url }}
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