commit
4e2cbd8192
|
@ -46,7 +46,7 @@ jobs:
|
||||||
id: diff
|
id: diff
|
||||||
|
|
||||||
# If index.js was different than expected, upload the expected version as an artifact
|
# If index.js was different than expected, upload the expected version as an artifact
|
||||||
- uses: actions/upload-artifact@v4-beta
|
- uses: actions/upload-artifact@v4
|
||||||
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
|
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: dist
|
||||||
|
|
|
@ -48,13 +48,13 @@ jobs:
|
||||||
echo "Hello world from file B" > path/to/artifact-B/file-B.txt
|
echo "Hello world from file B" > path/to/artifact-B/file-B.txt
|
||||||
|
|
||||||
- name: Upload artifact A
|
- name: Upload artifact A
|
||||||
uses: actions/upload-artifact@v4-beta
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Artifact-A-${{ matrix.runs-on }}
|
name: Artifact-A-${{ matrix.runs-on }}
|
||||||
path: path/to/artifact-A
|
path: path/to/artifact-A
|
||||||
|
|
||||||
- name: Upload artifact B
|
- name: Upload artifact B
|
||||||
uses: actions/upload-artifact@v4-beta
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Artifact-B-${{ matrix.runs-on }}
|
name: Artifact-B-${{ matrix.runs-on }}
|
||||||
path: path/to/artifact-B
|
path: path/to/artifact-B
|
||||||
|
|
Loading…
Reference in New Issue