diff options
| author | jakka <jakkadoujin@gmail.com> | 2025-04-13 14:01:56 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-13 14:01:56 +0300 |
| commit | cad8b4072666de2337cf309adabd80bdec633cb9 (patch) | |
| tree | 3b2a2de5ae4978261e740b6d4016bad57eac129a /.github/workflows/release.yml | |
| parent | b1a2ab25856ec14b042da9fec49c453c6dad95e5 (diff) | |
Create release.yml
Diffstat (limited to '.github/workflows/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..85cda37 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,36 @@ +name: Release +on: + release: + types: [created] + +permissions: + contents: write + packages: write + +concurrency: + group: release-${{ github.ref }} + cancel-in-progress: true + +jobs: + releases-matrix: + name: Release Go Binary + runs-on: ubuntu-latest + strategy: + matrix: + goos: [linux, windows, darwin] + goarch: [amd64, arm64] + exclude: + - goarch: arm64 + goos: linux + - 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.24.2 + binary_name: "reencoder" + compress_assets: OFF |
