File tree Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,12 @@ jobs:
165
165
mkdir -p $HOME/.cache/snapcraft/stage-packages
166
166
if : github.ref_type == 'tag'
167
167
168
+ - name : Install Nix
169
+ uses : cachix/install-nix-action@7ac1ec25491415c381d9b62f0657c7a028df52a7 # v24
170
+ with :
171
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
172
+ if : github.ref_type == 'tag'
173
+
168
174
- name : Run GoReleaser
169
175
uses : goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
170
176
with :
@@ -173,7 +179,7 @@ jobs:
173
179
env :
174
180
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
175
181
GOPATH : ${{ steps.go.outputs.go_path }}
176
- HOMEBREW_TAP_GITHUB_TOKEN : ${{ secrets.NGINX_PAT }}
182
+ NGINX_GITHUB_TOKEN : ${{ secrets.NGINX_PAT }}
177
183
SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK_COMMUNITY }}
178
184
SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.SNAPCRAFT_LOGIN }}
179
185
Original file line number Diff line number Diff line change 58
58
- repository :
59
59
owner : nginxinc
60
60
name : homebrew-tap
61
- token : ' {{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}'
61
+ token : ' {{ .Env.NGINX_GITHUB_TOKEN }}'
62
62
folder : Formula
63
- homepage : https://www.nginx. com/
63
+ homepage : https://github. com/nginxinc/nginx-prometheus-exporter
64
64
description : NGINX Prometheus Exporter for NGINX and NGINX Plus
65
65
license : Apache-2.0
66
66
commit_author :
@@ -113,3 +113,18 @@ snapcrafts:
113
113
plugs : ["network", "network-bind"]
114
114
completer : completions/nginx-prometheus-exporter.bash
115
115
disable : " {{ if .IsSnapshot }}true{{ end }}"
116
+
117
+ nix :
118
+ - repository :
119
+ owner : nginxinc
120
+ name : nur
121
+ token : ' {{ .Env.NGINX_GITHUB_TOKEN }}'
122
+ homepage : https://github.com/nginxinc/nginx-prometheus-exporter
123
+ description : NGINX Prometheus Exporter for NGINX and NGINX Plus
124
+ license : asl20
125
+ commit_author :
126
+ name : nginx-bot
127
+
128
+ extra_install : |-
129
+ installManPage ./manpages/nginx-prometheus-exporter.1.gz
130
+ installShellCompletion ./completions/*
You can’t perform that action at this time.
0 commit comments