all repos

json2go @ 34a739e

convert json to go type annotations

json2go/.github/workflows/goreleaser.yml (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
chore: trigger goreleaser only on releases, 6 months ago
1
name: goreleaser
2
3
on:
4
  pull_request:
5
    tags:
6
      - "*"
7
  push:
8
    tags:
9
      - "*"
10
11
12
permissions:
13
  contents: write
14
15
jobs:
16
  goreleaser:
17
    runs-on: ubuntu-latest
18
    steps:
19
      - uses: actions/checkout@v5
20
        with:
21
          fetch-depth: 0
22
23
      - name: Set up Go
24
        uses: actions/setup-go@v5
25
26
      - name: Run GoReleaser
27
        uses: goreleaser/goreleaser-action@v6
28
        with:
29
          distribution: goreleaser
30
          version: '~> v2'
31
          args: release --clean
32
        env:
33
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}