fix: endwith

pull/268/head
zijiren233 12 months ago
parent 8ccb30da13
commit 301604704e

@ -50,7 +50,7 @@ jobs:
uses: zijiren233/go-build-action@v1
with:
targets: ${{ matrix.target }}
enable-micro: ${{ !endsWith(matrix.target, '-arm64') }}
enable-micro: ${{ !endsWith(matrix.target, '/arm64') }}
config-args: --skip-init-web
- name: Get artifact name

@ -47,7 +47,7 @@ jobs:
uses: zijiren233/go-build-action@v1
with:
targets: ${{ matrix.target }}
enable-micro: ${{ !endsWith(matrix.target, '-arm64') }}
enable-micro: ${{ !endsWith(matrix.target, '/arm64') }}
config-args: --version="v${{ steps.get_version.outputs.VERSION }}"
- name: Release

@ -41,7 +41,7 @@ jobs:
uses: zijiren233/go-build-action@v1
with:
targets: ${{ matrix.target }}
enable-micro: ${{ !endsWith(matrix.target, '-arm64') }}
enable-micro: ${{ !endsWith(matrix.target, '/arm64') }}
- name: Release
uses: softprops/action-gh-release@v2

Loading…
Cancel
Save