Skip to content

Commit

Permalink
自动编译恢复到老版本,保留版本筛查
Browse files Browse the repository at this point in the history
  • Loading branch information
dream-pep authored Jan 23, 2025
1 parent 7656697 commit ab6ee1a
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/CI-Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,27 +45,28 @@ jobs:
needs: [test, test_build]
steps:
- uses: actions/checkout@v3
- name: Set.NET
- name: Set .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "${{env.dotnet-version}}"

- name: Update code
shell: cmd
working-directory: |
.
run: |
./.build/update_code.bat
working-directory: ./
run: ./.build/update_code.bat

- name: Build
shell: powershell
working-directory: |
.
working-directory: ./
run: |
./.build/build_windows.ps1
./.build/build_windows.ps1
- name: Upload x64 build artifacts
uses: actions/upload-artifact@v3
with:
name: Windows_x64
path: 'WonderLab.Desktop/bin/Release/${{ env.target-version }}/publish/win-x64/*.zip'

- name: Upload arm64 build artifacts
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -112,27 +113,31 @@ jobs:
needs: [test, test_build]
steps:
- uses: actions/checkout@v3
- name: Set.NET
- name: Set .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "${{env.dotnet-version}}"

- name: Update code
shell: bash
working-directory: |
.
working-directory: ./
run: |
chmod a+x./.build/update_code.sh &&./.build/update_code.sh
chmod a+x ./.build/update_code.sh
./.build/update_code.sh
- name: Build
shell: bash
working-directory: |
.
working-directory: ./
run: |
chmod a+x./.build/build_osx.sh &&./.build/build_osx.sh
chmod a+x ./.build/build_osx.sh
./.build/build_osx.sh
- name: Upload x64 build artifacts
uses: actions/upload-artifact@v3
with:
name: OSX_x64
path: 'WonderLab.Desktop/bin/Release/${{ env.target-version }}/publish/osx-x64/*.zip'

- name: Upload arm64 build artifacts
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit ab6ee1a

Please sign in to comment.