Skip to content

Commit

Permalink
Merge pull request #30 from spacemeshos/release-workflow
Browse files Browse the repository at this point in the history
Add release CI workflow
  • Loading branch information
lrettig authored Apr 6, 2023
2 parents a4caaca + fadd93a commit 80304a8
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and Release

on:
release:
types: [created]
workflow_dispatch:

jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/amd64, linux/arm64, windows/amd64, darwin/amd64, darwin/arm64
goos: [linux, windows, darwin]
goarch: [amd64, arm64]
exclude:
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: sm
#asset_name: "smcli-${{ env.BUILD_TIME }}-${{ matrix.goos }}-${{ matrix.goarch }}"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ smcli allows you to read encrypted wallet files (including those created using S

### Reading

To read an encrypted wallet file, run `smcli wallet read <filename>`. You'll be prompted to enter the password used to encrypt the wallet file. If you enter the correct password, you'll see the contents of the wallet printed, including the accounts it contains.
To read an encrypted wallet file, run `sm wallet read <filename>`. You'll be prompted to enter the password used to encrypt the wallet file. If you enter the correct password, you'll see the contents of the wallet printed, including the accounts it contains.

### Generation

To generate a new wallet containing a random keypair, run `smcli wallet create`.
To generate a new wallet containing a random keypair, run `sm wallet create`.

**NOTE: We strongly recommend only creating a new wallet on a secure, airgapped computer. You are responsible for safely storing your wallet files. There is absolutely nothing that we can do to help you recover your wallet if you misplace the file.**

0 comments on commit 80304a8

Please sign in to comment.