File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,23 @@ Here are some useful links to the GitHub documentation:
102
102
- [ Creating a JavaScript action] ( https://docs.github.com/en/actions/sharing-automations/creating-actions/creating-a-javascript-action )
103
103
- [ OpenID Connect] ( https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/about-security-hardening-with-openid-connect )
104
104
105
+ ## Publish the action
106
+
107
+ Once the ` main ` branch contains the latest changes,
108
+ you can publish a new version of the action by:
109
+
110
+ - Creating a new tag and release by clicking on "Draft a new release" from the
111
+ [ GitHub releases UI] ( https://github.com/rust-lang/crates-io-auth-action/releases ) .
112
+ - Pushing the changes of the ` main ` branch to the ` v1 ` branch. To do so, you can run:
113
+
114
+ ``` sh
115
+ git checkout main
116
+ git pull
117
+ git checkout v1
118
+ git reset --hard main
119
+ git push
120
+ ```
121
+
105
122
## FAQ
106
123
107
124
### Why TypeScript?
You can’t perform that action at this time.
0 commit comments