diff options
| author | ruki <[email protected]> | 2020-09-26 00:30:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-26 00:30:51 +0800 |
| commit | 65b9510586afdba880a3f57fb112e92a3bee8653 (patch) | |
| tree | 7335a0c9f5b3c48eebe78e236b60352aff636318 /.github | |
| parent | 3c1187b1b779554c964ec4916b51e0ae495a5871 (diff) | |
fix fedora ci for building rpm
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/fedora.yml | 10 |
1 files changed, 9 insertions, 1 deletions
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 |
