feat: change artifact download method #12

Merged
unkinben merged 1 commits from neoloc/artifacting_3 into master 2024-12-01 21:42:47 +11:00
2 changed files with 12 additions and 17 deletions

View File

@ -7,9 +7,6 @@ on:
workflow_dispatch:
jobs:
build:
uses: ./.gitea/workflows/build.yaml
deploy:
runs-on: almalinux-8
container:
@ -20,24 +17,22 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: Build Packages
run: |
make all
- name: Create dist directory
run: |
mkdir -p /tmp/unkin/rpmbuilder/dist
mkdir -p /workspace/unkin/rpmbuilder/dist
- uses: actions/download-artifact@v3
- name: Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v6
with:
name: rpms
path: /tmp/unkin/rpmbuilder/dist/
workflow: build.yaml
workflow_search: false
workflow_conclusion: success
name: rpm
path: /workspace/unkin/rpmbuilder/dist
search_artifacts: true
- name: Show RPMs from Artifacts
run: |
find /tmp -type f -name "*.rpm"
- name: Show RPMs from Build
- name: Show RPMs
run: |
find /workspace -type f -name "*.rpm"

View File

@ -1 +1 @@
3
4