diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6470894..55a7c3e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,36 +1,36 @@ # .github/workflows/release.yaml -name: Build Binaries upon Release +name: Build Release Binaries on: - release: - types: [created] + release: + types: [created] permissions: contents: write packages: write jobs: - releases-matrix: - name: Release Go Binary - runs-on: ubuntu-latest - strategy: - matrix: - # build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64 - goos: [linux, windows, darwin] - goarch: ["386", amd64, arm64] - exclude: - - goarch: "386" - goos: darwin - - 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.22 - sha256sum: true - extra_files: LICENSE README.md \ No newline at end of file + releases-matrix: + name: Release Go Binary + runs-on: ubuntu-latest + strategy: + matrix: + # build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64 + goos: [linux, windows, darwin] + goarch: ["386", amd64, arm64] + exclude: + - goarch: "386" + goos: darwin + - 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.22 + sha256sum: true + extra_files: LICENSE README.md diff --git a/README.md b/README.md index be398a1..7a2e10d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Mirror-Server The Mirror Server & Spec for Folderr's "Mirror" service +[![Build](https://github.com/Folderr/Mirror/actions/workflows/build.yaml/badge.svg)](https://github.com/Folderr/Mirror/actions/workflows/build.yaml) +[![Build Release Binaries](https://github.com/Folderr/Mirror/actions/workflows/release.yaml/badge.svg?event=release)](https://github.com/Folderr/Mirror/actions/workflows/release.yaml) Essentially, this is the service allowing users to utilize their own domains for Folderr This service can be ran as either a user service, or can be ran as a Folderr Instance service.