|
1 | 1 | name: Update configuration files |
| 2 | +- name: Upload a Build Artifact |
| 3 | + uses: actions/upload-artifact@v3.1.2 |
| 4 | + with: |
| 5 | + # Artifact name |
| 6 | + name: # optional, default is artifact |
| 7 | + # A file, directory or wildcard pattern that describes what to upload |
| 8 | + path: |
| 9 | + # The desired behavior if no files are found using the provided path. |
| 10 | +Available Options: |
| 11 | + warn: Output a warning but do not fail the action |
| 12 | + error: Fail the action with an error message |
| 13 | + ignore: Do not output any warnings or errors, the action does not fail |
2 | 14 |
|
| 15 | + if-no-files-found: # optional, default is warn |
| 16 | + # Duration after which artifact will expire in days. 0 means using default retention. |
| 17 | +Minimum 1 day. Maximum 90 days unless changed from the repository settings page. |
| 18 | + |
| 19 | + retention-days: # optional- name: Upload a Build Artifact |
| 20 | + |
| 21 | + uses: actions/upload-artifact@v3.1.2 |
| 22 | + |
| 23 | + with: |
| 24 | + |
| 25 | + # Artifact name |
| 26 | + |
| 27 | + name: # optional, default is artifact |
| 28 | + |
| 29 | + # A file, directory or wildcard pattern that describes what to upload |
| 30 | + |
| 31 | + path: |
| 32 | + |
| 33 | + # The desired behavior if no files are found using the provided path. |
| 34 | + |
| 35 | +Available Options: |
| 36 | + |
| 37 | + warn: Output a warning but do not fail the action |
| 38 | + |
| 39 | + error: Fail the action with an error message |
| 40 | + |
| 41 | + ignore: Do not output any warnings or errors, the action does not fail |
| 42 | + |
| 43 | + if-no-files-found: # optional, default is warn |
| 44 | + |
| 45 | + # Duration after which artifact will expire in days. 0 means using default retention. |
| 46 | + |
| 47 | +Minimum 1 day. Maximum 90 days unless changed from the repository settings page. |
| 48 | + |
| 49 | + retention-days: # optional |
3 | 50 | on: |
4 | 51 | schedule: |
5 | 52 | - cron: '0 3 * * 0' |
|
0 commit comments