Add prebuilt binaries upon release

This commit is contained in:
Spotlight 2021-12-31 04:17:38 -06:00
parent 04f03c72d3
commit 86368d0635
No known key found for this signature in database
GPG Key ID: 874AA355B3209BDC
2 changed files with 26 additions and 0 deletions

19
.github/workflows/release.yaml vendored Normal file
View File

@ -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 }}

View File

@ -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