Skip to content

Commit

Permalink
优化:测试main构建上传代码部分
Browse files Browse the repository at this point in the history
  • Loading branch information
modstart committed Oct 26, 2024
1 parent b6974e2 commit 906a9f4
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
strategy:
matrix:
include:
# - os: ubuntu-latest
# arch: [arm64, amd64]
- os: ubuntu-latest
arch: [arm64, amd64]
- os: macos-latest
arch: [arm64, amd64]
# - os: windows-latest
# arch: [arm64, amd64]
- os: windows-latest
arch: [arm64, amd64]

steps:
- name: Checkout Code
Expand All @@ -28,18 +28,18 @@ jobs:
with:
node-version: 20

# - name: Build Prepare (macOS)
# if: runner.os == 'macOS'
# run: |
# brew install python-setuptools
#
# - name: Install Dependencies
# run: npm install
#
# - name: Build Release Files
# run: npm run build
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build Prepare (macOS)
if: runner.os == 'macOS'
run: |
brew install python-setuptools
- name: Install Dependencies
run: npm install

- name: Build Release Files
run: npm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set Build Name ( Linux / macOS )
if: runner.os == 'Linux' || runner.os == 'macOS'
Expand Down Expand Up @@ -70,7 +70,6 @@ jobs:
dist-release/*.dmg:linkandroid/linkandroid-${{ env.DIST_FILE_NAME }}/
dist-release/*.AppImage:linkandroid/linkandroid-${{ env.DIST_FILE_NAME }}/
dist-release/*.deb:linkandroid/linkandroid-${{ env.DIST_FILE_NAME }}/
scripts/*:linkandroid/scripts-${{ env.DIST_FILE_NAME }}/
# - name: Upload Artifact
# uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 906a9f4

Please sign in to comment.