summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-02 22:48:14 +0800
committerruki <[email protected]>2020-11-02 22:48:14 +0800
commit688efbd2480d197c0f0461f41935e3d2727620de (patch)
tree656fe5318a73513ad59bb672bb289cd848d75176
parent209d38f645c58d12351a7637f405a648219dfc26 (diff)
remove artifact for fedora
-rw-r--r--.github/workflows/fedora.yml45
1 files changed, 0 insertions, 45 deletions
diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml
index b91083aae..e27320c2f 100644
--- a/.github/workflows/fedora.yml
+++ b/.github/workflows/fedora.yml
@@ -31,51 +31,6 @@ jobs:
- uses: olegtarasov/get-tag@v2
id: tagName
- # build artifacts
- - name: artifact
- run: |
- export XMAKE_ROOT=y
- 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:
- name: xmake-latest.fc32.spec
- path: ./scripts/rpmbuild/SPECS/xmake.spec
- - uses: actions/upload-artifact@v2
- with:
- name: xmake-latest.fc32.src.rpm
- path: ./scripts/xmake-latest.fc32.src.rpm
- - uses: actions/upload-artifact@v2
- with:
- name: xmake-latest.fc32.noarch.rpm
- path: ~/rpmbuild/RPMS/noarch/xmake-*.fc32.noarch.rpm
-
- # publish release
- - name: publish
- if: github.event.action == 'published'
- uses: actions/[email protected]
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- upload_url: ${{ github.event.release.upload_url }}
- asset_path: ./scripts/xmake-latest.fc32.src.rpm
- asset_name: xmake-${{ steps.tagName.outputs.tag }}.fc32.src.rpm
- asset_content_type: application/zip
-
- # publish release
- - name: publish
- if: github.event.action == 'published'
- uses: actions/[email protected]
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- upload_url: ${{ github.event.release.upload_url }}
- asset_path: ./scripts/rpmbuild/SPECS/xmake.spec
- asset_name: xmake-${{ steps.tagName.outputs.tag }}.fc32.spec
- asset_content_type: application/zip
-
# tests
- name: tests
env: