Skip to content

Commit e6f5b93

Browse files
authored
Update goreleaser.yml
Signed-off-by: Drewry Pope <[email protected]>
1 parent 76dfdc5 commit e6f5b93

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/goreleaser.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: goreleaser
22

33
on:
44
push:
5-
# tags:
6-
# - '*'
7-
pull_request:
8-
workflow_dispatch:
5+
tags:
6+
- '*'
97

108
permissions:
119
contents: write
@@ -39,10 +37,10 @@ jobs:
3937
MATRIX_CONTEXT: ${{ toJson(matrix) }}
4038
run: echo "$MATRIX_CONTEXT"
4139
goreleaser:
42-
name: ${{ matrix }} goreleaser
40+
name: ${{ matrix.working-directory }} goreleaser
4341
strategy:
4442
matrix:
45-
include: [ { working-directory: "./sources/graph" } ]
43+
include: [ { working-directory: "src/graph" } ]
4644
runs-on: ubuntu-latest
4745
steps:
4846
- name: Dump job context
@@ -66,7 +64,7 @@ jobs:
6664
with:
6765
go-version-file: "${{ matrix.working-directory }}/go.mod"
6866
check-latest: true
69-
- name: Run GoReleaser ${{ matrix }}
67+
- name: Run GoReleaser ${{ matrix.working-directory }}
7068
uses: goreleaser/goreleaser-action@v5
7169
with:
7270
distribution: goreleaser

0 commit comments

Comments
 (0)