This commit is contained in:
parent
b3566ccc89
commit
ae0db4e92c
1 changed files with 10 additions and 4 deletions
|
|
@ -12,8 +12,14 @@ jobs:
|
|||
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||
- name: build dwarfs rpm package
|
||||
run: rpmbuild -bb dwarfs.spec
|
||||
- name: upload package
|
||||
run: |
|
||||
curl --user ${{ github.repository_owner }}:${{ secrets.PACKAGE_PUSH_KEY }} \
|
||||
--upload-file $(find $HOME/rpmbuild/RPMS/$(rpm -E '%{_arch}')/ -type f) \
|
||||
https://git.ws-essen.de/api/packages/testuser/rpm/upload
|
||||
shell: bash
|
||||
|
||||
- uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
with:
|
||||
name: rpms
|
||||
path: /root/rpmbuild/RPMS/
|
||||
# - uses: https://code.forgejo.org/actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: rpms
|
||||
# path: /root/rpmbuild/RPMS/
|
||||
Loading…
Add table
Add a link
Reference in a new issue