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: README.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ Relative and absolute file paths are both allowed. Relative paths are rooted aga
162
162
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:
163
163
164
164
```yaml
165
-
- uses: actions/upload-artifact@v4-beta
165
+
- uses: actions/upload-artifact@v4
166
166
with:
167
167
name: my-artifact
168
168
path: path/to/artifact/
@@ -175,13 +175,13 @@ Unlike earlier versions of `upload-artifact`, uploading to the same artifact via
175
175
176
176
```yaml
177
177
- run: echo hi > world.txt
178
-
- uses: actions/upload-artifact@v4-beta
178
+
- uses: actions/upload-artifact@v4
179
179
with:
180
180
# implicitly named as 'artifact'
181
181
path: world.txt
182
182
183
183
- run: echo howdy > extra-file.txt
184
-
- uses: actions/upload-artifact@v4-beta
184
+
- uses: actions/upload-artifact@v4
185
185
with:
186
186
# also implicitly named as 'artifact', will fail here!
187
187
path: extra-file.txt
@@ -225,7 +225,7 @@ You can use `~` in the path input as a substitute for `$HOME`. Basic tilde expan
225
225
- run: |
226
226
mkdir -p ~/new/artifact
227
227
echo hello > ~/new/artifact/world.txt
228
-
- uses: actions/upload-artifact@v4-beta
228
+
- uses: actions/upload-artifact@v4
229
229
with:
230
230
name: Artifacts-V4-beta
231
231
path: ~/new/**/*
@@ -240,7 +240,7 @@ Environment variables along with context expressions can also be used for input.
0 commit comments