attempt to add build-release workflow for github
This commit is contained in:
parent
a92cbdd946
commit
a714860aa8
30
.github/workflows/build-release.yml
vendored
Normal file
30
.github/workflows/build-release.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
name: Release workflow
|
||||
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: create sources tarball
|
||||
run: tar czvf bochs.tar.gz --exclude=.git bochs
|
||||
|
||||
- name: build linux binaries
|
||||
run: cd bochs && ./build/redhat/make-rpm | tee ../build.log
|
||||
|
||||
- name: Upload release sources tarball
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: bochs sources tarball
|
||||
path: bochs.tar.gz
|
||||
|
||||
- name: Upload release linux RPM package
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: bochs linux RPM
|
||||
path: bochs.*.rpm
|
Loading…
x
Reference in New Issue
Block a user