Some checks failed
Build / build (pull_request) Failing after 43s
- upload/download artifacts instead of building build and deploy jobs - updated uv package with version in url - add ruff/0.8.1 package
44 lines
922 B
YAML
44 lines
922 B
YAML
name: Build
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: almalinux-8
|
|
container:
|
|
image: git.query.consul/unkin/almalinux8-runnerdnd:latest
|
|
options: --privileged
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build Packages
|
|
run: |
|
|
make all
|
|
|
|
- name: Show RPMs
|
|
run: |
|
|
find /workspace -type f -name "*.rpm"
|
|
|
|
- name: Upload Artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: rpms
|
|
path: /workspace/unkin/rpmbuilder/dist/*/*.rpm
|
|
|
|
- name: Create dist directory
|
|
run: |
|
|
mkdir -p /tmp/unkin/rpmbuilder/dist
|
|
|
|
- name: Download Artifacts
|
|
uses: actions/download-artifact@v1
|
|
with:
|
|
name: rpms
|
|
path: /tmp/unkin/rpmbuilder/dist/
|
|
|
|
- name: Show RPMs from Artifact
|
|
run: |
|
|
find /tmp -type f -name "*.rpm"
|