build(deps): bump @actions/artifact from 2.1.11 to 2.2.0 #575
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
upload: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dump | |
run: | | |
mkdir artifact | |
echo $GITHUB_SHA > artifact/sha | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifact | |
path: artifact | |
upload-multiple: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dump | |
run: | | |
mkdir artifact1 artifact2 | |
echo $GITHUB_SHA > artifact1/sha1 | |
echo $GITHUB_SHA > artifact2/sha2 | |
- name: Upload first | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifact1 | |
path: artifact1 | |
- name: Upload second | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifact2 | |
path: artifact2 |