File tree 1 file changed +15
-14
lines changed
1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
main :
10
- runs-on : ubuntu -latest
10
+ runs-on : macos -latest
11
11
steps :
12
12
- name : Clone repository
13
13
uses : actions/checkout@v4
14
14
15
- - name : Load secret
16
- uses : 1password/load-secrets-action@v2
17
- with :
18
- export-env : true
19
- env :
20
- OP_SERVICE_ACCOUNT_TOKEN : ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
21
- MY_GITHUB_PAT : op://Developer/GitHub/PAT
15
+ - name : Install 1Password CLI
16
+ uses : 1password/install-cli-action@v1
22
17
23
18
- name : Update Homebrew formula
24
- uses : dawidd6/action-homebrew-bump-formula@v3
25
- with :
26
- token : ${{ env.MY_GITHUB_PAT }}
27
- tap : bartekpacia/homebrew-tools
28
- formula : scripts
29
- force : true
19
+ run : |
20
+ op run -- brew bump-formula-pr \
21
+ --message "bump version to $(git describe --tags)" \
22
+ --no-browse \
23
+ --strict \
24
+ --online \
25
+ --tag "$(git describe --tags)" \
26
+ --revision "$(git rev-parse HEAD)" \
27
+ scripts
28
+ env :
29
+ OP_SERVICE_ACCOUNT_TOKEN : ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
30
+ HOMEBREW_GITHUB_API_TOKEN : op://Developer/GitHub/PAT
30
31
31
32
- name : Create release on GitHub
32
33
uses : softprops/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments