Merge pull request 'feat: change artifact download method' (#12) from neoloc/artifacting_3 into master
Some checks failed
Deploy / deploy (push) Failing after 19s
Some checks failed
Deploy / deploy (push) Failing after 19s
Reviewed-on: https://git.query.consul/unkin/rpmbuilder/pulls/12
This commit is contained in:
commit
9ba94f0aa9
@ -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"
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
3
|
||||
4
|
||||
|
||||
Loading…
Reference in New Issue
Block a user