File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,11 +60,13 @@ jobs:
6060 working-directory : react
6161 - name : Create release asset
6262 run : tar -cvzf bwmon.tar.gz react/build server
63- - name : Upload release asset
63+ - name : Upload artifacts
6464 uses : actions/upload-artifact@v4
6565 with :
66- name : bwmon-tarball
67- path : bwmon.tar.gz
66+ name : build-artifacts
67+ path : |
68+ react/build
69+ bwmon.tar.gz
6870
6971 # Create git tag, GitHub release, and update README
7072 release :
@@ -74,10 +76,10 @@ jobs:
7476 - uses : actions/checkout@v4
7577 with :
7678 fetch-depth : 0
77- - name : Download release asset
79+ - name : Download artifacts
7880 uses : actions/download-artifact@v4
7981 with :
80- name : bwmon-tarball
82+ name : build-artifacts
8183 path : .
8284 - name : Ensure gh (GitHub CLI) is installed
8385 run : |
@@ -132,6 +134,11 @@ jobs:
132134 - uses : actions/checkout@v4
133135 with :
134136 fetch-depth : 0
137+ - name : Download artifacts
138+ uses : actions/download-artifact@v4
139+ with :
140+ name : build-artifacts
141+ path : .
135142 - name : Deploy to GitHub Pages (gh CLI)
136143 run : |
137144 git config --global user.name "${GITHUB_ACTOR}"
You can’t perform that action at this time.
0 commit comments