added arm64 for mac

This commit is contained in:
Vishal 2022-12-28 01:42:38 +05:30
parent b8847cc465
commit 940218ee5b
2 changed files with 39 additions and 0 deletions

View File

@ -201,4 +201,41 @@ jobs:
# Destination path
path: ./
build_macos:
runs-on: macos-latest.arm64
steps:
- uses: actions/checkout@v3
# Note: This workflow uses the latest stable version of the Dart SDK.
# You can specify other versions if desired, see documentation here:
# https://github.com/dart-lang/setup-dart/blob/main/README.md
# - uses: dart-lang/setup-dart@v1
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
- name: Install dependencies
run: dart pub get
- name: compile exe
run: dart compile exe bin/nostr_console.dart --output bin/nostr_console_macOS_arm64
- name: change permission to make it executible
run: chmod 755 bin/nostr_console_macOS_arm64
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: nostr_console_macOS_arm64
path: |
bin/nostr_console_macOS_arm64
- name: Download a Build Artifact
uses: actions/download-artifact@v3.0.0
with:
# Artifact name
name: nostr_console_macOS_arm64
# Destination path
path: ./

View File

@ -3,6 +3,8 @@ description: A multi-platform nostr client built for terminal/console
version: 0.3.1-betaa
homepage: https://github.com/vishalxl/nostr_console
# added build for ubuntu arm 64, and mac arm 64
# 0.3.1
# added nostr.ch as another default relay to sync with anigma