File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,12 @@ jobs:
43
43
yarn build
44
44
45
45
- name : Upload Artifacts
46
- uses : actions/upload-artifact@v2
46
+ uses : actions/upload-artifact@v3
47
47
with :
48
- name : dist
49
- path : dist
48
+ name : artifacts
49
+ path : |
50
+ dist
51
+ ./package.json
50
52
51
53
commit-build :
52
54
needs : build
@@ -58,17 +60,16 @@ jobs:
58
60
ref : release
59
61
60
62
- name : Download Build
61
- uses : actions/download-artifact@v2
63
+ uses : actions/download-artifact@v3
62
64
with :
63
- name : dist
64
- path : dist
65
+ name : artifacts
65
66
66
67
- name : Commit and Push
67
68
run : |
68
69
if [ $(git status dist --porcelain=v1 2>/dev/null | wc -l) != "0" ] ; then
69
70
git config user.name "GitHub Actions"
70
71
git config user.email [email protected]
71
- git add dist
72
+ git add .
72
73
git commit -m "chore: updated build"
73
74
git push origin HEAD --force
74
75
fi
You can’t perform that action at this time.
0 commit comments