diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 79c6b6c..0ef2a81 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -4,7 +4,7 @@ on: - "v*.*.*" permissions: - contents: write + contents: write jobs: releases-matrix: @@ -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 \ No newline at end of file + - 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 diff --git a/README.md b/README.md index b333d48..d0e7182 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/sim/go.mod b/sim/go.mod new file mode 120000 index 0000000..a7e4d37 --- /dev/null +++ b/sim/go.mod @@ -0,0 +1 @@ +../go.mod \ No newline at end of file diff --git a/sim/go.sum b/sim/go.sum new file mode 120000 index 0000000..a3a4a98 --- /dev/null +++ b/sim/go.sum @@ -0,0 +1 @@ +../go.sum \ No newline at end of file