From 65b9510586afdba880a3f57fb112e92a3bee8653 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 26 Sep 2020 00:30:51 +0800 Subject: fix fedora ci for building rpm --- .github/workflows/fedora.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml index adc2c1543..220e16914 100644 --- a/.github/workflows/fedora.yml +++ b/.github/workflows/fedora.yml @@ -32,13 +32,21 @@ jobs: # build artifacts - name: artifact run: | - dnf install ncurses-devel readline-devel + dnf -y install ncurses-devel readline-devel rpmbuild -ba ./scripts/rpmbuild/SPECS/xmake.spec # upload artifacts + - uses: actions/upload-artifact@v2 + with: + name: xmake-latest.fc32.spec + path: ./scripts/rpmbuild/SPECS/xmake.spec - uses: actions/upload-artifact@v2 with: name: xmake-latest.fc32.src.rpm path: ~/rpmbuild/SRPMS/xmake-*.fc32.src.rpm + - uses: actions/upload-artifact@v2 + with: + name: xmake-latest.fc32.noarch.rpm + path: ~/rpmbuild/RPMS/noarch/xmake-*.fc32.noarch.rpm # tests - name: tests -- cgit v1.3.1