File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,19 @@ jobs:
35
35
36
36
- name : Get version from tag
37
37
if : github.event_name == 'push' && contains(github.event.ref, 'refs/tags/v')
38
- run : echo RELEASE_VERSION=${GITHUB_REF#refs/tags/v} >> $GITHUB_ENV
38
+ run : |
39
+ echo RELEASE_VERSION=${GITHUB_REF#refs/tags/v} >> $GITHUB_ENV
40
+ echo COMMITTER_TOKEN=${{ steps.app-token.outputs.token }} >> $GITHUB_ENV
39
41
shell : bash
40
42
- name : Get version from input
41
43
if : github.event_name == 'workflow_dispatch'
42
- run : echo RELEASE_VERSION=${{ github.event.inputs.version }} >> $GITHUB_ENV
44
+ run : |
45
+ echo RELEASE_VERSION=${{ github.event.inputs.version }} >> $GITHUB_ENV
46
+ echo COMMITTER_TOKEN=${{ secrets.GITHUB_TOKEN }} >> $GITHUB_ENV
43
47
shell : bash
44
48
- uses : mislav/bump-homebrew-formula-action@v3
49
+ # this action needs the COMMITTER_TOKEN to be set in the environment from above
45
50
with :
46
51
formula-name : t-rec
47
52
tag-name : v${{ env.RELEASE_VERSION }}
48
53
version : ${{ env.RELEASE_VERSION }}
49
-
50
- env :
51
- COMMITTER_TOKEN : ${{ steps.app-token.outputs.token }}
You can’t perform that action at this time.
0 commit comments