feat: change artifact download method
All checks were successful
Build / build (pull_request) Successful in 35s
All checks were successful
Build / build (pull_request) Successful in 35s
This commit is contained in:
parent
f7b4f19aec
commit
0e4504cb85
@ -7,9 +7,6 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
|
||||||
uses: ./.gitea/workflows/build.yaml
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: almalinux-8
|
runs-on: almalinux-8
|
||||||
container:
|
container:
|
||||||
@ -20,24 +17,22 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build Packages
|
|
||||||
run: |
|
|
||||||
make all
|
|
||||||
|
|
||||||
- name: Create dist directory
|
- name: Create dist directory
|
||||||
run: |
|
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:
|
with:
|
||||||
name: rpms
|
workflow: build.yaml
|
||||||
path: /tmp/unkin/rpmbuilder/dist/
|
workflow_search: false
|
||||||
|
workflow_conclusion: success
|
||||||
|
name: rpm
|
||||||
|
path: /workspace/unkin/rpmbuilder/dist
|
||||||
|
search_artifacts: true
|
||||||
|
|
||||||
- name: Show RPMs from Artifacts
|
- name: Show RPMs
|
||||||
run: |
|
|
||||||
find /tmp -type f -name "*.rpm"
|
|
||||||
|
|
||||||
- name: Show RPMs from Build
|
|
||||||
run: |
|
run: |
|
||||||
find /workspace -type f -name "*.rpm"
|
find /workspace -type f -name "*.rpm"
|
||||||
|
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
3
|
4
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user