fix: artifacts in release (#2016)

This commit is contained in:
Peng Xiao
2023-04-18 22:20:34 +08:00
committed by GitHub
parent f36d415c3d
commit ba462fb79b

View File

@@ -147,20 +147,27 @@ jobs:
release: release:
needs: make-distribution needs: make-distribution
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
fail-fast: true
# all combinations: macos-latest x64, macos-latest arm64, windows-latest x64, ubuntu-latest x64
matrix:
spec:
- { os: ubuntu-latest, arch: x64 }
- { os: macos-latest, arch: x64 }
- { os: macos-latest, arch: arm64 }
- { os: windows-latest, arch: x64 }
steps: steps:
- name: Download Artifacts - name: Download Artifacts (macos-x64)
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: affine-${{ matrix.spec.os }}-${{ matrix.spec.arch }}-builds name: affine-macos-x64-builds
path: ./
- name: Download Artifacts (macos-arm64)
uses: actions/download-artifact@v3
with:
name: affine-macos-arm64-builds
path: ./
- name: Download Artifacts (windows-x64)
uses: actions/download-artifact@v3
with:
name: affine-windows-x64-builds
path: ./
- name: Download Artifacts (linux-x64)
uses: actions/download-artifact@v3
with:
name: affine-linux-x64-builds
path: ./ path: ./
- name: Create Release Draft - name: Create Release Draft