Compare commits

...

4 Commits

Author SHA1 Message Date
Mo Jazi df290d3b79
Merge 1ffb9f3303 into 2848b2cda0 2025-10-01 10:02:04 -05:00
Yang Cao 2848b2cda0
Merge pull request #727 from danwkennedy/patch-1
Readme: spell out the first use of GHES
2025-09-24 09:57:02 -04:00
Daniel Kennedy 9b511775fd
Spell out the first use of GHES 2025-09-24 09:42:45 -04:00
mojazi1451176 1ffb9f3303
Update MIGRATION.md 2025-02-27 15:41:02 -08:00
2 changed files with 13 additions and 13 deletions

View File

@ -41,7 +41,7 @@ See also [download-artifact](https://github.com/actions/download-artifact).
## v4 - What's new
> [!IMPORTANT]
> upload-artifact@v4+ is not currently supported on GHES yet. If you are on GHES, you must use [v3](https://github.com/actions/upload-artifact/releases/tag/v3).
> upload-artifact@v4+ is not currently supported on GitHub Enterprise Server (GHES) yet. If you are on GHES, you must use [v3](https://github.com/actions/upload-artifact/releases/tag/v3).
The release of upload-artifact@v4 and download-artifact@v4 are major changes to the backend architecture of Artifacts. They have numerous performance and behavioral improvements.

View File

@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download All Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: my-artifact
path: my-artifact
@ -61,7 +61,7 @@ jobs:
- name: Create a File
run: echo "hello from ${{ matrix.runs-on }}" > file-${{ matrix.runs-on }}.txt
- name: Upload Artifact
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v4
with:
- name: my-artifact
@ -72,7 +72,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download All Artifacts
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v4
with:
- name: my-artifact
@ -96,7 +96,7 @@ jobs:
- name: Create a file
run: echo "hello world" > my-file.txt
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: my-artifact # NOTE: same artifact name
path: my-file.txt
@ -107,7 +107,7 @@ jobs:
- name: Create a different file
run: echo "goodbye world" > my-file.txt
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: my-artifact # NOTE: same artifact name
path: my-file.txt
@ -125,7 +125,7 @@ jobs:
- name: Create a file
run: echo "hello world" > my-file.txt
- name: Upload Artifact
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v4
with:
name: my-artifact # NOTE: same artifact name
@ -137,7 +137,7 @@ jobs:
- name: Create a different file
run: echo "goodbye world" > my-file.txt
- name: Upload Artifact
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v4
with:
name: my-artifact # NOTE: same artifact name
@ -162,7 +162,7 @@ jobs:
- name: Create a File
run: echo "hello from ${{ matrix.runs-on }}" > file-${{ matrix.runs-on }}.txt
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: all-my-files # NOTE: same artifact name
path: file-${{ matrix.runs-on }}.txt
@ -190,7 +190,7 @@ jobs:
- name: Create a File
run: echo "hello from ${{ matrix.runs-on }}" > file-${{ matrix.runs-on }}.txt
- name: Upload Artifact
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v4
with:
- name: all-my-files
@ -226,7 +226,7 @@ jobs:
- name: Create a Hidden File
run: echo "hello from a hidden file" > .hidden-file.txt
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: .hidden-file.txt
```
@ -240,9 +240,9 @@ jobs:
- name: Create a Hidden File
run: echo "hello from a hidden file" > .hidden-file.txt
- name: Upload Artifact
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v4
with:
path: .hidden-file.txt
+ include-hidden-files: true
```
```