Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/actions/tutorials/store-and-share-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Job 1 performs these steps:
Job 2 uses the result in the previous job:
* Downloads the {% ifversion artifacts-v3-deprecation %}`homework_pre`{% else %}`homework`{% endif %} artifact uploaded in the previous job. By default, the `download-artifact` action downloads artifacts to the workspace directory that the step is executing in. You can use the `path` input parameter to specify a different download directory.
* Reads the value in the `math-homework.txt` file, performs a math calculation, and saves the result to `math-homework.txt` again, overwriting its contents.
* Uploads the `math-homework.txt` file. {% ifversion artifacts-v3-deprecation %}As artifacts are considered immutable in `v4`, the artifact is passed a different input, `homework_final`, as a name.{% else %}This upload overwrites the previously uploaded artifact because they share the same name.{% endif %}
* Uploads the `math-homework.txt` file. {% ifversion artifacts-v3-deprecation %}As artifacts are considered immutable in `v5`, the artifact is passed a different input, `homework_final`, as a name.{% else %}This upload overwrites the previously uploaded artifact because they share the same name.{% endif %}

Job 3 displays the result uploaded in the previous job:
* Downloads the {% ifversion artifacts-v3-deprecation %}`homework_final` artifact from Job 2.{% else %}`homework` artifact.{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion data/reusables/actions/action-download-artifact.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
actions/download-artifact@{% ifversion artifacts-v3-deprecation %}v5{% else %}v3{% endif %}
actions/download-artifact@{% ifversion artifacts-v3-deprecation %}v6{% else %}v3-node20{% endif %}
2 changes: 1 addition & 1 deletion data/reusables/actions/action-upload-artifact.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
actions/upload-artifact@{% ifversion artifacts-v3-deprecation %}v4{% else %}v3{% endif %}
actions/upload-artifact@{% ifversion artifacts-v3-deprecation %}v5{% else %}v3-node20{% endif %}
Loading