From 86368d0635f4f30839597a9e13be62543b484e9b Mon Sep 17 00:00:00 2001 From: Spotlight Date: Fri, 31 Dec 2021 04:17:38 -0600 Subject: [PATCH] Add prebuilt binaries upon release --- .github/workflows/release.yaml | 19 +++++++++++++++++++ README.md | 7 +++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..c1a374b --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,19 @@ +on: + release: + types: [created] + +jobs: + releases-matrix: + name: Release Go Binary + runs-on: ubuntu-latest + strategy: + matrix: + goos: [linux, windows, darwin] + goarch: [amd64, arm64] + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.22 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: ${{ matrix.goos }} + goarch: ${{ matrix.goarch }} diff --git a/README.md b/README.md index aa1d2aa..78b2c35 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,13 @@ This is useful for research and development of services utilizing the WSC. It is important to read the following so that you will have a usable WAD available upon patch completion. +## Running +You can likely obtain a prebuilt binary for your platform on the [Releases](https://github.com/OpenShopChannel/WSC-Patcher/releases) tab. + +If one is unavailable, or you wish to follow along with current development: + - Ensure [Go](https://go.dev/dl/) is installed, possibly via a package manager. You will need Go 1.17 or later. + - Run `go install github.com/OpenShopChannel/WSC-Patcher@latest`, possibly replacing `latest` with a specific tag. + ## Setup You will need an externally resolvable domain with four subdomains: - `oss-auth`, utilized for the Wii Shop's main HTML