Skip to content

Commit

Permalink
test building for macos only
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipnah committed Aug 13, 2024
1 parent 068c819 commit d8d0fcf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
os: [darwin, windows, linux]
arch: [arm64, amd64]
#os: [darwin, windows, linux]
os: [darwin]
#arch: [arm64, amd64]
arch: [arm64]
steps:
- uses: actions/checkout@v4

Expand All @@ -28,7 +30,7 @@ jobs:
run: env GOOS=${{matrix.os}} GOARCH=${{matrix.arch}} go build -o ./bin/${{matrix.os}}/${{matrix.arch}}/ego main.go

- name: Zip release
run: 7z a -tzip "ego.zip" "./bin/*"
run: 7z a -tzip "ego.zip" "./bin/"

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

0 comments on commit d8d0fcf

Please sign in to comment.