Skip to content

Commit

Permalink
remove build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mattman107 committed Jan 26, 2025
1 parent 95e0f4f commit 32383e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build App
on:
push:
branches:
- main
- autobuild4

jobs:
build:
Expand All @@ -13,7 +13,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
ref: autobuild4

- name: Setup Go
uses: actions/setup-go@v5
Expand All @@ -25,8 +25,12 @@ jobs:

- name: Build
run: |
chmod +x ./build.sh
./build.sh
platforms=("windows/amd64" "linux/amd64" "darwin/amd64" "darwin/arm64" "linux/arm64" "windows/arm64")
for platform in "${platforms[@]}"; do
GOOS=${platform%/*}
GOARCH=${platform#*/}
env GOOS=$GOOS GOARCH=$GOARCH go build -o ./bin/anchor-$GOOS-$GOARCH .
done
- name: Upload builds
uses: svenstaro/upload-release-action@v2
Expand All @@ -35,4 +39,4 @@ jobs:
file: ./bin/anchor-*
file_glob: true
tag: ${{ github.ref }}
target_commit: main
target_commit: autobuild4
9 changes: 0 additions & 9 deletions build.sh

This file was deleted.

0 comments on commit 32383e6

Please sign in to comment.