Skip to content

Commit 1b56155

Browse files
committed
s/v4-beta/v4/g
1 parent 6a5077f commit 1b56155

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Relative and absolute file paths are both allowed. Relative paths are rooted aga
162162
If a path (or paths), result in no files being found for the artifact, the action will succeed but print out a warning. In certain scenarios it may be desirable to fail the action or suppress the warning. The `if-no-files-found` option allows you to customize the behavior of the action if no files are found:
163163

164164
```yaml
165-
- uses: actions/upload-artifact@v4-beta
165+
- uses: actions/upload-artifact@v4
166166
with:
167167
name: my-artifact
168168
path: path/to/artifact/
@@ -175,13 +175,13 @@ Unlike earlier versions of `upload-artifact`, uploading to the same artifact via
175175

176176
```yaml
177177
- run: echo hi > world.txt
178-
- uses: actions/upload-artifact@v4-beta
178+
- uses: actions/upload-artifact@v4
179179
with:
180180
# implicitly named as 'artifact'
181181
path: world.txt
182182

183183
- run: echo howdy > extra-file.txt
184-
- uses: actions/upload-artifact@v4-beta
184+
- uses: actions/upload-artifact@v4
185185
with:
186186
# also implicitly named as 'artifact', will fail here!
187187
path: extra-file.txt
@@ -225,7 +225,7 @@ You can use `~` in the path input as a substitute for `$HOME`. Basic tilde expan
225225
- run: |
226226
mkdir -p ~/new/artifact
227227
echo hello > ~/new/artifact/world.txt
228-
- uses: actions/upload-artifact@v4-beta
228+
- uses: actions/upload-artifact@v4
229229
with:
230230
name: Artifacts-V4-beta
231231
path: ~/new/**/*
@@ -240,7 +240,7 @@ Environment variables along with context expressions can also be used for input.
240240
- run: |
241241
mkdir -p ${{ github.workspace }}/artifact
242242
echo hello > ${{ github.workspace }}/artifact/world.txt
243-
- uses: actions/upload-artifact@v4-beta
243+
- uses: actions/upload-artifact@v4
244244
with:
245245
name: ${{ env.name }}-name
246246
path: ${{ github.workspace }}/artifact/**/*
@@ -254,7 +254,7 @@ For environment variables created in other steps, make sure to use the `env` exp
254254
mkdir testing
255255
echo "This is a file to upload" > testing/file.txt
256256
echo "artifactPath=testing/file.txt" >> $GITHUB_ENV
257-
- uses: actions/upload-artifact@v4-beta
257+
- uses: actions/upload-artifact@v4
258258
with:
259259
name: artifact
260260
path: ${{ env.artifactPath }} # this will resolve to testing/file.txt at runtime
@@ -269,7 +269,7 @@ Artifacts are retained for 90 days by default. You can specify a shorter retenti
269269
run: echo "I won't live long" > my_file.txt
270270
271271
- name: Upload Artifact
272-
uses: actions/upload-artifact@v4-beta
272+
uses: actions/upload-artifact@v4
273273
with:
274274
name: my-artifact
275275
path: my_file.txt
@@ -285,7 +285,7 @@ If an artifact upload is successful then an `artifact-id` output is available. T
285285
#### Example output between steps
286286

287287
```yml
288-
- uses: actions/upload-artifact@v4-beta
288+
- uses: actions/upload-artifact@v4
289289
id: artifact-upload-step
290290
with:
291291
name: my-artifact
@@ -304,7 +304,7 @@ jobs:
304304
outputs:
305305
output1: ${{ steps.my-artifact.outputs.artifact-id }}
306306
steps:
307-
- uses: actions/upload-artifact@v4-beta
307+
- uses: actions/upload-artifact@v4
308308
id: artifact-upload-step
309309
with:
310310
name: my-artifact

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy