mirror of
https://github.com/actions/upload-artifact
synced 2024-12-22 06:22:45 +00:00
Merge pull request #468 from actions/robherley/misc-updates
Some cleanup
This commit is contained in:
commit
353073034f
4 changed files with 7 additions and 9 deletions
2
.github/workflows/check-dist.yml
vendored
2
.github/workflows/check-dist.yml
vendored
|
@ -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
|
||||||
|
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -81,7 +81,7 @@ jobs:
|
||||||
|
|
||||||
# Download Artifact #1 and verify the correctness of the content
|
# Download Artifact #1 and verify the correctness of the content
|
||||||
- name: 'Download artifact #1'
|
- name: 'Download artifact #1'
|
||||||
uses: actions/download-artifact@v4-beta
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: 'Artifact-A-${{ matrix.runs-on }}'
|
name: 'Artifact-A-${{ matrix.runs-on }}'
|
||||||
path: some/new/path
|
path: some/new/path
|
||||||
|
@ -101,7 +101,7 @@ jobs:
|
||||||
|
|
||||||
# Download Artifact #2 and verify the correctness of the content
|
# Download Artifact #2 and verify the correctness of the content
|
||||||
- name: 'Download artifact #2'
|
- name: 'Download artifact #2'
|
||||||
uses: actions/download-artifact@v4-beta
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: 'Artifact-Wildcard-${{ matrix.runs-on }}'
|
name: 'Artifact-Wildcard-${{ matrix.runs-on }}'
|
||||||
path: some/other/path
|
path: some/other/path
|
||||||
|
@ -122,7 +122,7 @@ jobs:
|
||||||
|
|
||||||
# Download Artifact #4 and verify the correctness of the content
|
# Download Artifact #4 and verify the correctness of the content
|
||||||
- name: 'Download artifact #4'
|
- name: 'Download artifact #4'
|
||||||
uses: actions/download-artifact@v4-beta
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: 'Multi-Path-Artifact-${{ matrix.runs-on }}'
|
name: 'Multi-Path-Artifact-${{ matrix.runs-on }}'
|
||||||
path: multi/artifact
|
path: multi/artifact
|
||||||
|
|
|
@ -271,7 +271,7 @@ You can use `~` in the path input as a substitute for `$HOME`. Basic tilde expan
|
||||||
echo hello > ~/new/artifact/world.txt
|
echo hello > ~/new/artifact/world.txt
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Artifacts-V4-beta
|
name: my-artifacts
|
||||||
path: ~/new/**/*
|
path: ~/new/**/*
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
import * as core from '../node_modules/@actions/core/'
|
import * as core from '@actions/core'
|
||||||
import artifact, {
|
import artifact, {UploadArtifactOptions} from '@actions/artifact'
|
||||||
UploadArtifactOptions
|
|
||||||
} from '../node_modules/@actions/artifact/lib/artifact'
|
|
||||||
import {findFilesToUpload} from './search'
|
import {findFilesToUpload} from './search'
|
||||||
import {getInputs} from './input-helper'
|
import {getInputs} from './input-helper'
|
||||||
import {NoFileOptions} from './constants'
|
import {NoFileOptions} from './constants'
|
||||||
|
|
Loading…
Reference in a new issue