更新 maven-publish.yml

This commit is contained in:
Yang Yang
2024-02-23 12:54:18 +08:00
committed by GitHub
parent 0057892f16
commit 6f4f02d90f

View File

@@ -70,12 +70,14 @@ jobs:
cp ./target/gpt-4-copilot-${{ steps.tag_name.outputs.tag }}-${{ matrix.os }} ./packaging/gpt-4-copilot
fi
cp ./config.json ./packaging/config.json
shell: bash
- name: Create ZIP (Unix)
if: runner.os != 'Windows'
run: |
cd packaging
zip -r ../target/gpt-4-copilot-${{ steps.tag_name.outputs.tag }}-${{ matrix.os }}.zip .
shell: bash
- name: Create ZIP (Windows)
if: runner.os == 'Windows'