Bochs/.github/workflows/build-release.yml
2024-03-01 19:04:57 +02:00

31 lines
647 B
YAML

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@v4
with:
name: bochs.tar.gz
path: bochs.tar.gz
- name: Upload release linux RPM package
uses: actions/upload-artifact@v4
with:
name: bochs linux RPM
path: bochs.*.rpm