1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-23 00:25:04 +01:00
bitwarden-estensione-browser/.github/workflows/brew-bump-cli.yml

42 lines
1.1 KiB
YAML
Raw Normal View History

2022-06-20 18:23:11 +02:00
---
name: Bump CLI Formula
on:
push:
tags:
- cli-v**
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
update-desktop-cask:
name: Update Bitwarden CLI Formula
runs-on: macos-13
2022-06-20 18:23:11 +02:00
steps:
- name: Login to Azure
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0
2022-06-20 18:23:11 +02:00
with:
creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
2022-06-20 18:23:11 +02:00
- name: Retrieve secrets
id: retrieve-secrets
2023-11-08 19:08:34 +01:00
uses: bitwarden/gh-actions/get-keyvault-secrets@main
with:
keyvault: "bitwarden-ci"
secrets: "brew-bump-workflow-pat"
2022-06-20 18:23:11 +02:00
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@75ed025ff3ad1d617862838b342b06d613a0ddf3 # v3.10.1
2022-06-20 18:23:11 +02:00
with:
# Required, custom GitHub access token with the 'public_repo' and 'workflow' scopes
token: ${{ steps.retrieve-secrets.outputs.brew-bump-workflow-pat }}
org: bitwarden
tap: Homebrew/homebrew-core
formula: bitwarden-cli
2022-06-20 18:23:11 +02:00
tag: ${{ github.ref }}
revision: ${{ github.sha }}
force: true