Unverified Commit 35307303 authored by Rob Herley's avatar Rob Herley Committed by GitHub
Browse files

Merge pull request #468 from actions/robherley/misc-updates

Some cleanup
parents c7d193f3 6c139afa
Loading
Loading
Loading
Loading
+1 −1
Changes for .github/workflows/check-dist.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ jobs:
        id: diff

      # 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' }}
        with:
          name: dist
+3 −3
Changes for .github/workflows/test.yml: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ jobs:

    # Download Artifact #1 and verify the correctness of the content
    - name: 'Download artifact #1'
      uses: actions/download-artifact@v4-beta
      uses: actions/download-artifact@v4
      with:
        name: 'Artifact-A-${{ matrix.runs-on }}'
        path: some/new/path
@@ -101,7 +101,7 @@ jobs:

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

    # Download Artifact #4 and verify the correctness of the content
    - name: 'Download artifact #4'
      uses: actions/download-artifact@v4-beta
      uses: actions/download-artifact@v4
      with:
        name: 'Multi-Path-Artifact-${{ matrix.runs-on }}'
        path: multi/artifact
+1 −1
Changes for README.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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
  - uses: actions/upload-artifact@v4
    with:
      name: Artifacts-V4-beta
      name: my-artifacts
      path: ~/new/**/*
```

+2 −4
Changes for src/upload-artifact.ts: 2 added lines, 4 removed lines.
Original line number Diff line number Diff line
import * as core from '../node_modules/@actions/core/'
import artifact, {
  UploadArtifactOptions
} from '../node_modules/@actions/artifact/lib/artifact'
import * as core from '@actions/core'
import artifact, {UploadArtifactOptions} from '@actions/artifact'
import {findFilesToUpload} from './search'
import {getInputs} from './input-helper'
import {NoFileOptions} from './constants'