generated from actions/container-action
-
Notifications
You must be signed in to change notification settings - Fork 209
39 lines (37 loc) · 837 Bytes
/
upload.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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