mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 07:55:11 +08:00
chore(build): 更新打包脚本包含文档目录
- 将 Windows 打包命令中的 dist 目录替换为 docs 目录 - 将 Linux/macOS 打包命令中的 dist/ 目录替换为 docs/ 目录 - 确保所有平台的打包流程统一使用 docs 目录 - 保持构建产物的一致性和完整性 - 避免因目录变更导致的打包遗漏问题
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -53,11 +53,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Package Assets (Windows)
|
- name: Package Assets (Windows)
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
run: Compress-Archive -Path "${{ matrix.executable }}", "dist" -DestinationPath "${{ matrix.asset_name }}"
|
run: Compress-Archive -Path "${{ matrix.executable }}", "docs" -DestinationPath "${{ matrix.asset_name }}"
|
||||||
|
|
||||||
- name: Package Assets (Linux/macOS)
|
- name: Package Assets (Linux/macOS)
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-latest'
|
||||||
run: tar -czvf ${{ matrix.asset_name }} ${{ matrix.executable }} dist/
|
run: tar -czvf ${{ matrix.asset_name }} ${{ matrix.executable }} docs/
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user