diff options
| author | ruki <[email protected]> | 2020-09-26 11:19:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-26 11:19:42 +0800 |
| commit | 666cff34c4bda3b6896adfdcdc7df85ab0287d29 (patch) | |
| tree | 78aa4554706b40a858808ca1f632da8eafb800d2 /.github | |
| parent | 1992ea4fecf4fcc50c55d5e41effdb8641c6d731 (diff) | |
fix publish fedora on ci
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/fedora.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml index 8e5e38129..ed6dc1bc9 100644 --- a/.github/workflows/fedora.yml +++ b/.github/workflows/fedora.yml @@ -36,6 +36,7 @@ jobs: run: | dnf -y install ncurses-devel readline-devel rpmbuild -ba ./scripts/rpmbuild/SPECS/xmake.spec + cp ~/rpmbuild/SRPMS/xmake-*.fc32.src.rpm ./scripts/xmake-latest.fc32.src.rpm # upload artifacts - uses: actions/upload-artifact@v2 with: @@ -44,7 +45,7 @@ jobs: - uses: actions/upload-artifact@v2 with: name: xmake-latest.fc32.src.rpm - path: ~/rpmbuild/SRPMS/xmake-*.fc32.src.rpm + path: ./scripts/xmake-latest.fc32.src.rpm - uses: actions/upload-artifact@v2 with: name: xmake-latest.fc32.noarch.rpm @@ -58,7 +59,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: ~/rpmbuild/SRPMS/xmake-*.fc32.src.rpm + asset_path: ./scripts/xmake-latest.fc32.src.rpm asset_name: xmake-${{ steps.tagName.outputs.tag }}.fc32.src.rpm asset_content_type: application/zip |
