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

Some cleanup
This commit is contained in:
Rob Herley 2023-12-14 15:14:24 -05:00 committed by GitHub
commit 4e2cbd8192
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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