Skip to content

Commit c65ea51

Browse files
committed
Fix release artifact uploading
1 parent 11e78c7 commit c65ea51

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,20 @@ jobs:
5858
shell: bash
5959
run: |
6060
GENERATORS="STGZ;RPM" ./install-and-package-timem.sh
61+
mkdir -p timemory-timem-installer/stgz
62+
mkdir -p timemory-timem-installer/rpm
63+
mv build-timemory-timem/timemory-timem-*.sh timemory-timem-installer/stgz/
64+
mv build-timemory-timem/timemory-timem-*.rpm timemory-timem-installer/rpm/
6165
- name: Archive STGZ installer
6266
uses: actions/upload-artifact@v4
6367
with:
6468
name: stgz-installer
65-
path: build-timemory-timem/timemory-timem-*.sh
69+
path: timemory-timem-installer/stgz/
6670
- name: Archive RPM installer
6771
uses: actions/upload-artifact@v4
6872
with:
6973
name: rpm-installer
70-
path: build-timemory-timem/timemory-timem-*.rpm
74+
path: timemory-timem-installer/rpm/
7175
- name: Generate Release
7276
uses: softprops/action-gh-release@v2
7377
if: startsWith(github.ref, 'refs/tags/')
@@ -104,11 +108,13 @@ jobs:
104108
shell: bash
105109
run: |
106110
GENERATORS="DEB" ./install-and-package-timem.sh
111+
mkdir -p timemory-timem-installer/deb
112+
mv build-timemory-timem/timemory-timem-*.rpm timemory-timem-installer/deb/
107113
- name: Archive DEB installer
108114
uses: actions/upload-artifact@v4
109115
with:
110116
name: deb-installer
111-
path: build-timemory-timem/timemory-timem-*.deb
117+
path: timemory-timem-installer/deb/
112118
- name: Generate Release
113119
uses: softprops/action-gh-release@v2
114120
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)