Skip to content

Commit

Permalink
Fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
rxqd committed Jun 13, 2024
1 parent 1561d16 commit 7d18567
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
- "v*.*.*"

permissions:
contents: write
contents: write

jobs:
releases-matrix:
Expand All @@ -19,14 +19,14 @@ jobs:
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "1.21"
project_path: "./app"
binary_name: "od_sim"
overwrite: true
upload: true
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "1.21"
project_path: "./sim"
binary_name: "sim"
overwrite: true
upload: true
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ and then run
go install github.com/rxx/od_tools/sim@latest
```

If `@latest` does not work, try to include specific version as `@v1.0.2-sim`

it installs to `GOPATH/bin` with a name `sim`.

Rename it whatever you like.
Expand Down
1 change: 1 addition & 0 deletions sim/go.mod
1 change: 1 addition & 0 deletions sim/go.sum

0 comments on commit 7d18567

Please sign in to comment.