File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -184,3 +184,28 @@ jobs:
184
184
AWS_EC2_METADATA_DISABLED : true
185
185
run : |
186
186
aws s3 cp --endpoint-url ${{ vars.S3_ENDPOINT }} manifest.json s3://${{ vars.S3_BUCKET }}/updates/latest.json
187
+
188
+ update-homebrew-cask :
189
+ name : Update Homebrew cask
190
+ needs : [bundle, publish-version]
191
+ environment : bundle-publish
192
+ runs-on : ubuntu-latest
193
+ env :
194
+ VERSION : ${{ needs.bundle.outputs.tag }}
195
+
196
+ steps :
197
+ - name : Checkout code
198
+ uses : actions/checkout@v4
199
+ with :
200
+ repository : prose-im/homebrew-tap
201
+ token : ${{ secrets.HOMEBREW_TAP_ACCESS_TOKEN }}
202
+
203
+ # NOTE: Recommended by [the Task documentation](https://taskfile.dev/installation/#github-actions).
204
+ - name : Install Task
205
+ uses : arduino/setup-task@v2
206
+
207
+ - name : Update the cask
208
+ run : task update:prose -- "${{ env.VERSION }}" -y --commit
209
+
210
+ - name : Update the tap
211
+ run : git push origin master
You can’t perform that action at this time.
0 commit comments