Skip to content

Commit 3530730

Browse files
authored
Merge pull request #468 from actions/robherley/misc-updates
Some cleanup
2 parents c7d193f + 6c139af commit 3530730

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

.github/workflows/check-dist.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
id: diff
4747

4848
# If index.js was different than expected, upload the expected version as an artifact
49-
- uses: actions/upload-artifact@v4-beta
49+
- uses: actions/upload-artifact@v4
5050
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
5151
with:
5252
name: dist

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
8282
# Download Artifact #1 and verify the correctness of the content
8383
- name: 'Download artifact #1'
84-
uses: actions/download-artifact@v4-beta
84+
uses: actions/download-artifact@v4
8585
with:
8686
name: 'Artifact-A-${{ matrix.runs-on }}'
8787
path: some/new/path
@@ -101,7 +101,7 @@ jobs:
101101

102102
# Download Artifact #2 and verify the correctness of the content
103103
- name: 'Download artifact #2'
104-
uses: actions/download-artifact@v4-beta
104+
uses: actions/download-artifact@v4
105105
with:
106106
name: 'Artifact-Wildcard-${{ matrix.runs-on }}'
107107
path: some/other/path
@@ -122,7 +122,7 @@ jobs:
122122

123123
# Download Artifact #4 and verify the correctness of the content
124124
- name: 'Download artifact #4'
125-
uses: actions/download-artifact@v4-beta
125+
uses: actions/download-artifact@v4
126126
with:
127127
name: 'Multi-Path-Artifact-${{ matrix.runs-on }}'
128128
path: multi/artifact

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ You can use `~` in the path input as a substitute for `$HOME`. Basic tilde expan
271271
echo hello > ~/new/artifact/world.txt
272272
- uses: actions/upload-artifact@v4
273273
with:
274-
name: Artifacts-V4-beta
274+
name: my-artifacts
275275
path: ~/new/**/*
276276
```
277277

src/upload-artifact.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import * as core from '../node_modules/@actions/core/'
2-
import artifact, {
3-
UploadArtifactOptions
4-
} from '../node_modules/@actions/artifact/lib/artifact'
1+
import * as core from '@actions/core'
2+
import artifact, {UploadArtifactOptions} from '@actions/artifact'
53
import {findFilesToUpload} from './search'
64
import {getInputs} from './input-helper'
75
import {NoFileOptions} from './constants'

0 commit comments

Comments
 (0)