Skip to content

Commit

Permalink
ci: Update CI name
Browse files Browse the repository at this point in the history
  • Loading branch information
Aervyon committed Aug 12, 2024
1 parent fdabaf6 commit 3cf2122
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -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
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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 3cf2122

Please sign in to comment.