Skip to content

Commit

Permalink
ci: add artifact upload for multi-platform builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Dec 30, 2024
1 parent 9b49374 commit 3f042b4
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,40 @@ jobs:
run: |
go run ./scripts/build -version=${{ needs.meta.outputs.tag }} --all
- name: Install
run: |
go run ./scripts/install --all
- uses: actions/upload-artifact@v4
with:
name: mba-linux-amd64
path: "install/linux-amd64"

- uses: actions/upload-artifact@v4
with:
name: mba-linux-arm64
path: "install/linux-arm64"

- uses: actions/upload-artifact@v4
with:
name: mba-windows-amd64
path: "install/windows-amd64"

- uses: actions/upload-artifact@v4
with:
name: mba-windows-arm64
path: "install/windows-arm64"

- uses: actions/upload-artifact@v4
with:
name: mba-darwin-amd64
path: "install/darwin-amd64"

- uses: actions/upload-artifact@v4
with:
name: mba-darwin-arm64
path: "install/darwin-arm64"

# release:
# if: ${{ needs.meta.outputs.is_release == 'true' }}
# needs: [meta, build]
Expand Down

0 comments on commit 3f042b4

Please sign in to comment.