File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 3535 description : ' login of vote counting bot'
3636 type : string
3737 required : false
38+ vote_actions_release :
39+ description : ' published version of shared actions'
40+ type : string
41+ required : false
42+ default : latest
3843
3944 outputs :
4045 votes_updated :
7277 markdown_dir : ${{ inputs.markdown_dir }}
7378 index_file : ${{ inputs.index_file }}
7479 vote_comment_bot : ${{ inputs.vote_comment_bot }}
80+ vote_actions_release : ${{ inputs.vote_actions_release }}
Original file line number Diff line number Diff line change 9696 git push
9797
9898 # Update references from main to the new release branch
99- sed -i "s|VOTE_ACTIONS_RELEASE : latest|VOTE_ACTIONS_RELEASE : '$VERSION'|" actions/count-votes /action.yml
99+ sed -i "s|default : latest|default : '$VERSION'|g " actions/* /action.yml
100100 sed -i "s|count-votes@main|count-votes@$VERSION|" .github/workflows/receive-votes.yml
101101
102102 # Update internal composite action references from @main to @VERSION
@@ -106,7 +106,7 @@ jobs:
106106 # Create a new branch for the release
107107 git checkout -b ${BRANCH}
108108
109- git add .github actions
109+ git add .github
110110 git commit -m "π Update action references for ${VERSION}"
111111 git push --set-upstream origin ${BRANCH}
112112
You canβt perform that action at this time.
0 commit comments