You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/actions/use-cases-and-examples/building-and-testing/building-and-testing-rust.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ We recommend that you have a basic understanding of the Rust language. For more
79
79
80
80
## Specifying a Rust version
81
81
82
-
{% data variables.product.prodname_dotcom %}-hosted runners include a recent version of the rustup rust compiler. You can use rustup to report on the version installed on a runner, override the version, and to install additional toolchains. For more information, see [The rustup book](https://rust-lang.github.io/rustup/).
82
+
{% data variables.product.prodname_dotcom %}-hosted runners include a recent version of the Rust toolchain. You can use rustup to report on the version installed on a runner, override the version, and to install different toolchains. For more information, see [The rustup book](https://rust-lang.github.io/rustup/).
83
83
84
84
```yaml copy
85
85
- name: Temporarily modify the rust toolchain version
@@ -150,7 +150,7 @@ If there are any errors building and packaging the crate, check the metadata in
150
150
After a workflow completes, you can upload the resulting artifacts for analysis or to use in another workflow. You could add these example steps to the workflow to upload an application for use by another workflow.
151
151
152
152
```yaml copy
153
-
- name: Upload {% raw %}<my-app>{% endraw %}
153
+
- name: Upload release artifact
154
154
uses: {% data reusables.actions.action-upload-artifact %}
155
155
with:
156
156
name: {% raw %}<my-app>{% endraw %}
@@ -161,12 +161,12 @@ To use the uploaded artifact in a different job, ensure your workflows have the
161
161
162
162
```yaml copy
163
163
- uses: {% data reusables.actions.action-checkout %}
164
-
- name: Download {% raw %}<my-app>{% endraw %}
164
+
- name: Download release artifact
165
165
uses: {% data reusables.actions.action-download-artifact %}
166
166
with:
167
167
name: {% raw %}<my-app>{% endraw %}
168
168
path: ./{% raw %}<my-app>{% endraw %}
169
-
- name: Publish {% raw %}<my-app>{% endraw %} binary as a release on {% data variables.product.github %}
169
+
- name: Publish built binary to {% data variables.product.github %} releases
170
170
- run: |
171
171
gh release create v0.1.0 --generate-notes
172
172
gh release upload v0.1.0 ./{% raw %}<my-app>/<my-project>#<my-app>{% endraw %}
0 commit comments