feat: artifact changes
Build / build (pull_request) Successful in 35s

- update build/deploy workflow
This commit is contained in:
2024-12-01 21:17:05 +11:00
parent 7dc3fda3b4
commit 75a9fea331
3 changed files with 30 additions and 1 deletions
+21
View File
@@ -4,9 +4,13 @@ on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
uses: ./.gitea/workflows/build.yml
deploy:
runs-on: almalinux-8
container:
image: git.query.consul/unkin/almalinux8-runnerdnd:latest
@@ -20,6 +24,23 @@ jobs:
run: |
make all
- name: Create dist directory
run: |
mkdir -p /tmp/unkin/rpmbuilder/dist
- uses: actions/download-artifact@v3
with:
name: rpms
path: /tmp/unkin/rpmbuilder/dist/
- name: Show RPMs from Artifacts
run: |
find /tmp -type f -name "*.rpm"
- name: Show RPMs from Build
run: |
find /workspace -type f -name "*.rpm"
- name: Upload RPMs to Gitea
env:
DRONECI_PASSWORD: ${{ secrets.DRONECI_PASSWORD }}