Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
name: Go Release
on:
push:
# run only against tags
tags:
- '*'
release:
types: [ published ]
permissions:
contents: write

jobs:
build:
if: github.event.base_ref == 'refs/heads/master'
uses: Siroshun09/gh-actions-workflows/.github/workflows/goreleaser-release.yml@v1
release:
strategy:
matrix:
target_os: [ linux, darwin, windows ]
target_arch: [ amd64, arm64 ]
fail-fast: false
uses: Siroshun09/gh-actions-workflows/.github/workflows/go-release.yml@v1
with:
target-os: ${{ matrix.target_os }}
target-arch: ${{ matrix.target_arch }}
go-filepath: "./cmd/dljdk/main.go"
binary-name: dljdk
tag-name: ${{ github.event.release.tag_name }}
40 changes: 0 additions & 40 deletions .goreleaser.yaml

This file was deleted.