diff --git a/.github/workflows/build-bot.yml b/.github/workflows/build-bot.yml index 485f5a8..6283e5a 100644 --- a/.github/workflows/build-bot.yml +++ b/.github/workflows/build-bot.yml @@ -86,10 +86,39 @@ jobs: echo "ref=$REF" >> "$GITHUB_OUTPUT" echo "目标=$TARGET 提交=$REF 是否PR=$IS_PR" + - name: 回复「开始编译」 + if: steps.parse.outputs.ok == 'true' + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ISSUE: ${{ github.event.issue.number }} + TARGET: ${{ steps.parse.outputs.target }} + REF: ${{ steps.parse.outputs.ref }} + RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + run: | + set -e + case "$TARGET" in + mac) PLATFORMS="macOS" ;; + win-amd) PLATFORMS="Windows amd64" ;; + win-arm) PLATFORMS="Windows arm64" ;; + *) PLATFORMS="macOS + Windows amd64 + Windows arm64" ;; + esac + + cat > ack.md <