Skip to content

Commit

Permalink
Fix build binary action
Browse files Browse the repository at this point in the history
  • Loading branch information
suecharo committed Sep 17, 2022
1 parent cb0bd43 commit 304c136
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:

- name: "Build binary"
run: |
deno compile --target x86_64-unknown-linux-gnu --output=./tonkaz_x86_64-unknown-linux-gnu src/main.ts
deno compile --target x86_64-apple-darwin --output=./tonkaz_x86_64-apple-darwin src/main.ts
deno compile --target aarch64-apple-darwin --output=./tonkaz_aarch64-apple-darwin src/main.ts
deno compile --allow-read --allow-net --target x86_64-unknown-linux-gnu --output=./tonkaz_x86_64-unknown-linux-gnu src/main.ts
deno compile --allow-read --allow-net --target x86_64-apple-darwin --output=./tonkaz_x86_64-apple-darwin src/main.ts
deno compile --allow-read --allow-net --target aarch64-apple-darwin --output=./tonkaz_aarch64-apple-darwin src/main.ts
- name: "Upload x86_64-unknown-linux-gnu binary"
uses: actions/upload-artifact@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
deno-version: "1.25.1"
- name: "Build binary"
run: |
deno compile --target x86_64-unknown-linux-gnu --output=./tonkaz_x86_64-unknown-linux-gnu src/main.ts
deno compile --target x86_64-apple-darwin --output=./tonkaz_x86_64-apple-darwin src/main.ts
deno compile --target aarch64-apple-darwin --output=./tonkaz_aarch64-apple-darwin src/main.ts
deno compile --allow-read --allow-net --target x86_64-unknown-linux-gnu --output=./tonkaz_x86_64-unknown-linux-gnu src/main.ts
deno compile --allow-read --allow-net --target x86_64-apple-darwin --output=./tonkaz_x86_64-apple-darwin src/main.ts
deno compile --allow-read --allow-net --target aarch64-apple-darwin --output=./tonkaz_aarch64-apple-darwin src/main.ts
- name: "Upload x86_64-unknown-linux-gnu binary"
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 304c136

Please sign in to comment.