From 41cb14248fa9975d3f7698ec0ad324740ecb8d4c Mon Sep 17 00:00:00 2001 From: suifei Date: Sat, 25 May 2024 22:57:47 +0800 Subject: [PATCH] chore: Update Windows workflow to include debugging information for Windows and macOS build artifacts --- .github/workflows/main.yml | 53 +------------------------------------- 1 file changed, 1 insertion(+), 52 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9ad2574..bb9fe2c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,55 +28,4 @@ jobs: with: name: macos-build path: ./release/macos - - - name: 获取当前时间 (Get Current Time) - id: current-time - uses: 1466587594/get-current-time@v2 - with: - format: YYYY-MM-DD-HH-mm-ss - utcOffset: "+08:00" - - - name: 创建发布 (Create Release) - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: v${{ github.ref_name }}-${{ steps.current-time.outputs.formattedTime }} - release_name: Release v${{ github.ref_name }} (${{ steps.current-time.outputs.formattedTime }}) - draft: false - prerelease: false - - - name: 调试 Windows 构建产物 (Debug Windows Build Artifacts) - run: | - echo "Windows 构建产物目录内容:" - ls -al ./release/windows-mingw64 - echo "Windows 构建产物目录中的 ZIP 文件:" - find ./release/windows-mingw64 -name "*.zip" - - - name: 上传 Windows 发布资源 (Upload Windows Release Assets) - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./release/windows-mingw64/asm2hex-windows-mingw64.zip - asset_name: asm2hex-windows-mingw64.zip - asset_content_type: application/zip - - - name: 调试 macOS 构建产物 (Debug macOS Build Artifacts) - run: | - echo "macOS 构建产物目录内容:" - ls -al ./release/macos - echo "macOS 构建产物目录中的 ZIP 文件:" - find ./release/macos -name "*.zip" - - - name: 上传 macOS 发布资源 (Upload macOS Release Assets) - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./release/macos/asm2hex-macos.zip - asset_name: asm2hex-macos.zip - asset_content_type: application/zip \ No newline at end of file +