hope this works
This commit is contained in:
parent
eb9e8b5108
commit
c78cfa671e
4 changed files with 73 additions and 27 deletions
19
.forgejo/workflows/build.yaml
Normal file
19
.forgejo/workflows/build.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: fedora:40
|
||||
steps:
|
||||
- run: dnf install -y nodejs rpmdevtools
|
||||
- name: set up base build env
|
||||
run: rpmdev-setuptree
|
||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||
- name: build dwarfs rpm package
|
||||
run: rpmbuild -bb dwarfs.spec
|
||||
|
||||
- uses: forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: dwarfs.rpm
|
||||
path: $(find $HOME/rpmbuild/RPMS/$(rpm -E '%{_arch}')/ -type f) # le bodge but should work
|
||||
Loading…
Add table
Add a link
Reference in a new issue