Skip to content

Commit

Permalink
chore: disable arm64 micro
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Nov 17, 2024
1 parent 2010e1d commit 1bbd382
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
strategy:
matrix:
target: ${{ fromJson(needs.get-targets.outputs.targets) }}
disabled-micro: ["arm64"]
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
Expand All @@ -61,7 +62,7 @@ jobs:
uses: zijiren233/go-build-action@v1
with:
targets: ${{ matrix.target }}
enable-micro: true
enable-micro: ${{ !endsWith(matrix.target, '-arm64') }}
config-args: --skip-init-web

- name: Get artifact name
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uses: zijiren233/go-build-action@v1
with:
targets: ${{ matrix.target }}
enable-micro: true
enable-micro: ${{ !endsWith(matrix.target, '-arm64') }}
config-args: --version="v${{ steps.get_version.outputs.VERSION }}"

- name: Release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: zijiren233/go-build-action@v1
with:
targets: ${{ matrix.target }}
enable-micro: true
enable-micro: ${{ !endsWith(matrix.target, '-arm64') }}

- name: Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 1bbd382

Please sign in to comment.