Skip to content

Commit

Permalink
支持跨平台编译
Browse files Browse the repository at this point in the history
  • Loading branch information
sinspired committed Oct 16, 2024
1 parent 7f77cdf commit c648dc0
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ jobs:

- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: ./artifacts

- name: Get tag description
id: tag_description
Expand All @@ -81,6 +83,10 @@ jobs:
echo "commit_message=${COMMIT_MESSAGE}" >> $GITHUB_OUTPUT
shell: bash

- name: List artifacts
run: ls -R ./artifacts
shell: bash

- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -92,7 +98,8 @@ jobs:
Changes in this release:
${{ steps.commit_message.outputs.commit_message }}" \
--draft=false \
bestipTestVIP_linux_amd64 \
bestipTestVIP.exe \
bestipTestVIP_darwin_amd64 \
bestipTestVIP_darwin_arm64
./artifacts/bestipTestVIP_linux_amd64/bestipTestVIP_linux_amd64 \
./artifacts/bestipTestVIP.exe/bestipTestVIP.exe \
./artifacts/bestipTestVIP_darwin_amd64/bestipTestVIP_darwin_amd64 \
./artifacts/bestipTestVIP_darwin_arm64/bestipTestVIP_darwin_arm64
shell: bash

0 comments on commit c648dc0

Please sign in to comment.